Skip to content

Commit

Permalink
chore(deps): Upgrade to latest eslint-plugin-jest
Browse files Browse the repository at this point in the history
  • Loading branch information
doug-martin committed Sep 5, 2020
1 parent a49d063 commit 4ebe9ac
Show file tree
Hide file tree
Showing 6 changed files with 149 additions and 31 deletions.
2 changes: 1 addition & 1 deletion examples/auth/e2e/sub-task.resolver.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,7 @@ describe('SubTaskResolver (auth - e2e)', () => {
});
});
});
it('should not allow setting a the todoItem that does not belong to the user on a subTask ', () => {
it('should not allow setting a the todoItem that does not belong to the user on a subTask', () => {
return request(app.getHttpServer())
.post('/graphql')
.auth(jwtToken, { type: 'bearer' })
Expand Down
166 changes: 142 additions & 24 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"eslint-config-prettier": "6.11.0",
"eslint-import-resolver-typescript": "2.3.0",
"eslint-plugin-import": "2.22.0",
"eslint-plugin-jest": "23.20.0",
"eslint-plugin-jest": "24.0.0",
"eslint-plugin-prettier": "3.1.4",
"eslint-plugin-tsdoc": "0.2.7",
"husky": "4.2.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ describe('ReadResolver', () => {
return expectResolverSDL(readDisabledResolverSDL, { disabled: true });
});

describe('query many ', () => {
describe('query many', () => {
it('should not create a new type if the QueryArgs is supplied', () => {
@ArgsType()
class CustomQueryArgs extends QueryArgsType(TestResolverDTO) {
Expand Down Expand Up @@ -341,7 +341,7 @@ describe('ReadResolver', () => {
});
});

it('should expose totalCount on connections if enableTotalCount is true ', () => {
it('should expose totalCount on connections if enableTotalCount is true', () => {
@ObjectType('TotalCountDTO')
class TotalCountDTO extends TestResolverDTO {}
@Resolver(() => TotalCountDTO)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,7 @@ describe('SequelizeQueryService', (): void => {
expect(deleted).toEqual(expect.objectContaining(PLAIN_TEST_ENTITIES[0]));
});

it('should return throw an error if unable to find ', async () => {
it('should return throw an error if unable to find', async () => {
const entity = PLAIN_TEST_ENTITIES[0];
const queryService = moduleRef.get(TestEntityService);
return expect(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,7 @@ describe('TypeOrmQueryService', (): void => {
expect(deleted).toEqual({ ...TEST_ENTITIES[0], testEntityPk: undefined });
});

it('should return throw an error if unable to find ', async () => {
it('should return throw an error if unable to find', async () => {
const entity = TEST_ENTITIES[0];
const queryService = moduleRef.get(TestEntityService);
return expect(
Expand Down Expand Up @@ -1338,7 +1338,7 @@ describe('TypeOrmQueryService', (): void => {
expect(foundEntity).toEqual({ ...entity, deletedAt: null });
});

it('should return throw an error if unable to find ', async () => {
it('should return throw an error if unable to find', async () => {
const queryService = moduleRef.get(TestSoftDeleteEntityService);
const entity = TEST_SOFT_DELETE_ENTITIES[0];
await queryService.deleteOne(entity.testEntityPk);
Expand Down

0 comments on commit 4ebe9ac

Please sign in to comment.