mirror of
https://github.com/n08i40k/schedule-parser-next.git
synced 2025-12-06 09:47:46 +03:00
fixup! Сборка Docker image
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
"private": true,
|
||||
"license": "UNLICENSED",
|
||||
"scripts": {
|
||||
"build": "nest build && npx prisma generate",
|
||||
"build": "npx prisma generate && nest build",
|
||||
"format": "prettier --write \"src/**/*.ts\"",
|
||||
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
|
||||
"precommit": "npm run format && npm run lint",
|
||||
|
||||
@@ -4,8 +4,10 @@ import {
|
||||
Controller,
|
||||
HttpCode,
|
||||
HttpStatus,
|
||||
Param, Patch,
|
||||
Post, Query,
|
||||
Param,
|
||||
Patch,
|
||||
Post,
|
||||
Query,
|
||||
UseGuards,
|
||||
} from "@nestjs/common";
|
||||
import { AuthGuard } from "../auth/auth.guard";
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
import { Test, TestingModule } from '@nestjs/testing';
|
||||
import { VKIDController } from './vkid.controller';
|
||||
import { Test, TestingModule } from "@nestjs/testing";
|
||||
import { VKIDController } from "./vkid.controller";
|
||||
|
||||
describe('VkidController', () => {
|
||||
let controller: VKIDController;
|
||||
describe("VkidController", () => {
|
||||
let controller: VKIDController;
|
||||
|
||||
beforeEach(async () => {
|
||||
const module: TestingModule = await Test.createTestingModule({
|
||||
controllers: [VKIDController],
|
||||
}).compile();
|
||||
beforeEach(async () => {
|
||||
const module: TestingModule = await Test.createTestingModule({
|
||||
controllers: [VKIDController],
|
||||
}).compile();
|
||||
|
||||
controller = module.get<VKIDController>(VKIDController);
|
||||
});
|
||||
controller = module.get<VKIDController>(VKIDController);
|
||||
});
|
||||
|
||||
it('should be defined', () => {
|
||||
expect(controller).toBeDefined();
|
||||
});
|
||||
it("should be defined", () => {
|
||||
expect(controller).toBeDefined();
|
||||
});
|
||||
});
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
import { Test, TestingModule } from '@nestjs/testing';
|
||||
import { VKIDService } from './vkid.service';
|
||||
import { Test, TestingModule } from "@nestjs/testing";
|
||||
import { VKIDService } from "./vkid.service";
|
||||
|
||||
describe('VkidService', () => {
|
||||
let service: VKIDService;
|
||||
describe("VkidService", () => {
|
||||
let service: VKIDService;
|
||||
|
||||
beforeEach(async () => {
|
||||
const module: TestingModule = await Test.createTestingModule({
|
||||
providers: [VKIDService],
|
||||
}).compile();
|
||||
beforeEach(async () => {
|
||||
const module: TestingModule = await Test.createTestingModule({
|
||||
providers: [VKIDService],
|
||||
}).compile();
|
||||
|
||||
service = module.get<VKIDService>(VKIDService);
|
||||
});
|
||||
service = module.get<VKIDService>(VKIDService);
|
||||
});
|
||||
|
||||
it('should be defined', () => {
|
||||
expect(service).toBeDefined();
|
||||
});
|
||||
it("should be defined", () => {
|
||||
expect(service).toBeDefined();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user