Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
devleejb committed Jan 24, 2024
1 parent aad2ff7 commit f6cee41
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion backend/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { WorkspacesModule } from "./workspaces/workspaces.module";
import { WorkspaceUsersModule } from "./workspace-users/workspace-users.module";
import { WorkspaceDocumentsModule } from "./workspace-documents/workspace-documents.module";
import { DocumentsModule } from "./documents/documents.module";
import { CheckModule } from './check/check.module';
import { CheckModule } from "./check/check.module";

@Module({
imports: [
Expand Down
26 changes: 13 additions & 13 deletions backend/src/check/check.controller.spec.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
import { Test, TestingModule } from '@nestjs/testing';
import { CheckController } from './check.controller';
import { Test, TestingModule } from "@nestjs/testing";
import { CheckController } from "./check.controller";

describe('CheckController', () => {
let controller: CheckController;
describe("CheckController", () => {
let controller: CheckController;

beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
controllers: [CheckController],
}).compile();
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
controllers: [CheckController],
}).compile();

controller = module.get<CheckController>(CheckController);
});
controller = module.get<CheckController>(CheckController);
});

it('should be defined', () => {
expect(controller).toBeDefined();
});
it("should be defined", () => {
expect(controller).toBeDefined();
});
});
4 changes: 2 additions & 2 deletions backend/src/check/check.controller.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Controller } from '@nestjs/common';
import { Controller } from "@nestjs/common";

@Controller('check')
@Controller("check")
export class CheckController {}
10 changes: 5 additions & 5 deletions backend/src/check/check.module.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Module } from '@nestjs/common';
import { CheckService } from './check.service';
import { CheckController } from './check.controller';
import { Module } from "@nestjs/common";
import { CheckService } from "./check.service";
import { CheckController } from "./check.controller";

@Module({
providers: [CheckService],
controllers: [CheckController]
providers: [CheckService],
controllers: [CheckController],
})
export class CheckModule {}
26 changes: 13 additions & 13 deletions backend/src/check/check.service.spec.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
import { Test, TestingModule } from '@nestjs/testing';
import { CheckService } from './check.service';
import { Test, TestingModule } from "@nestjs/testing";
import { CheckService } from "./check.service";

describe('CheckService', () => {
let service: CheckService;
describe("CheckService", () => {
let service: CheckService;

beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
providers: [CheckService],
}).compile();
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
providers: [CheckService],
}).compile();

service = module.get<CheckService>(CheckService);
});
service = module.get<CheckService>(CheckService);
});

it('should be defined', () => {
expect(service).toBeDefined();
});
it("should be defined", () => {
expect(service).toBeDefined();
});
});
2 changes: 1 addition & 1 deletion backend/src/check/check.service.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Injectable } from '@nestjs/common';
import { Injectable } from "@nestjs/common";

@Injectable()
export class CheckService {}

0 comments on commit f6cee41

Please sign in to comment.