Skip to content

Commit

Permalink
test: make test names more specific
Browse files Browse the repository at this point in the history
  • Loading branch information
Zlatin Stanimirov committed Mar 6, 2022
1 parent d255c82 commit b4251f9
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/lib/controller/controller.factory.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ describe('Controller Factory', () => {
'export class FooController {}\n',
);
});
it('should keep underscores in path and file name', async () => {
it("should keep underscores in controller's path and file name", async () => {
const options: ControllerOptions = {
name: 'barBaz/foo',
skipImport: true,
Expand Down
2 changes: 1 addition & 1 deletion src/lib/filter/filter.factory.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ describe('Filter Factory', () => {
);
});

it('should keep underscores on path only', async () => {
it("should keep underscores file's on path only", async () => {
const options: FilterOptions = {
name: '_foo',
};
Expand Down
2 changes: 1 addition & 1 deletion src/lib/interceptor/interceptor.factory.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ describe('Interceptor Factory', () => {
);
});

it('should keep underscores in path and file name', async () => {
it("should keep underscores in interceptor's path and file name", async () => {
const options: InterceptorOptions = {
name: '_bar/_foo',
};
Expand Down
2 changes: 1 addition & 1 deletion src/lib/interface/interface.factory.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ describe('Interface Factory', () => {
);
});

it('should keep underscores in path and file names', async () => {
it("should keep underscores in interface's path and file names", async () => {
const options: InterfaceOptions = {
name: '_bar/_foo',
};
Expand Down
2 changes: 1 addition & 1 deletion src/lib/library/library.factory.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ describe('Library Factory', () => {
'/libs/awesome-project/src/awesome-project.service.ts',
]);
});
it('should keep underscores in path and file name', async () => {
it("should keep underscores in library's path and file name", async () => {
const options: LibraryOptions = {
name: '_project',
prefix: 'app',
Expand Down
2 changes: 1 addition & 1 deletion src/lib/middleware/middleware.factory.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ describe('Middleware Factory', () => {
'}\n',
);
});
it('should keep underscores in path and file name', async () => {
it("should keep underscores in middleware's path and file name", async () => {
const options: MiddlewareOptions = {
name: '_bar/_foo',
flat: false,
Expand Down
2 changes: 1 addition & 1 deletion src/lib/module/module.factory.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ describe('Module Factory', () => {
'export class FooModule {}\n',
);
});
it('should keep underscores in path and file name', async () => {
it("should keep underscores in module's path and file name", async () => {
const options: ModuleOptions = {
name: '_bar/_foo',
skipImport: true,
Expand Down
2 changes: 1 addition & 1 deletion src/lib/provider/provider.factory.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ describe('Provider Factory', () => {
'export class BarFoo {}\n',
);
});
it('should keep underscores in file name', async () => {
it("should keep underscores in provider's file name", async () => {
const options: ProviderOptions = {
name: '_bar',
skipImport: true,
Expand Down
2 changes: 1 addition & 1 deletion src/lib/resolver/resolver.factory.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ describe('Resolver Factory', () => {
'export class FooResolver {}\n',
);
});
it('should keep underscores in path and file name', async () => {
it("should keep underscores in resolver's path and file name", async () => {
const options: ResolverOptions = {
name: '_bar/_foo',
flat: false,
Expand Down
2 changes: 1 addition & 1 deletion src/lib/resource/resource.factory.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe('Resource Factory', () => {
'/users/entities/user.entity.ts',
]);
});
it('should keep underscores in path and file name', async () => {
it("should keep underscores in resource's path and file name", async () => {
const options: ResourceOptions = {
name: '_users',
};
Expand Down
2 changes: 1 addition & 1 deletion src/lib/sub-app/sub-app.factory.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ describe('SubApp Factory', () => {
'/apps/awesome-project/test/jest-e2e.json',
]);
});
it('should keep underscores in path and file name', async () => {
it("should keep underscores in sub-app's path and file name", async () => {
const options: SubAppOptions = {
name: '_project',
};
Expand Down

0 comments on commit b4251f9

Please sign in to comment.