Skip to content

Commit

Permalink
feat: support jest 27 (#2171)
Browse files Browse the repository at this point in the history
BREAKING CHANGE
Require minimum jest 27
  • Loading branch information
FauxFaux committed Dec 9, 2020
1 parent 0597b55 commit 9909b9d
Show file tree
Hide file tree
Showing 52 changed files with 37,745 additions and 36,658 deletions.
Empty file modified cli.js
100644 → 100755
Empty file.
4 changes: 2 additions & 2 deletions e2e/__external-repos__/custom-typings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
"devDependencies": {
"@types/jest": "^26.0.16",
"@types/jquery": "^3.5.4",
"jest": "^26.6.3",
"jest": "^27.0.0-next.2",
"jquery": "^3.5.1",
"typescript": "^4.1.2"
},
"wantedDependencies": {
"jquery": "latest",
"@types/jest": "latest",
"@types/jquery": "latest",
"jest": "latest",
"jest": "next",
"typescript": "latest"
}
}
1,943 changes: 598 additions & 1,345 deletions e2e/__external-repos__/custom-typings/yarn.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions e2e/__external-repos__/memory-usage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@nestjs/testing": "latest",
"@types/jest": "latest",
"@types/lodash": "latest",
"jest": "latest",
"jest": "next",
"lodash": "latest",
"reflect-metadata": "latest",
"rxjs": "latest",
Expand All @@ -30,7 +30,7 @@
"@nestjs/testing": "^7.5.5",
"@types/jest": "^26.0.16",
"@types/lodash": "^4.14.165",
"jest": "^26.6.3",
"jest": "^27.0.0-next.2",
"lodash": "^4.17.20",
"reflect-metadata": "^0.1.13",
"rxjs": "^6.6.3",
Expand Down
11 changes: 0 additions & 11 deletions e2e/__external-repos__/memory-usage/test/force-gc/test1.spec.ts

This file was deleted.

11 changes: 0 additions & 11 deletions e2e/__external-repos__/memory-usage/test/force-gc/test10.spec.ts

This file was deleted.

11 changes: 0 additions & 11 deletions e2e/__external-repos__/memory-usage/test/force-gc/test11.spec.ts

This file was deleted.

11 changes: 0 additions & 11 deletions e2e/__external-repos__/memory-usage/test/force-gc/test12.spec.ts

This file was deleted.

11 changes: 0 additions & 11 deletions e2e/__external-repos__/memory-usage/test/force-gc/test2.spec.ts

This file was deleted.

11 changes: 0 additions & 11 deletions e2e/__external-repos__/memory-usage/test/force-gc/test3.spec.ts

This file was deleted.

11 changes: 0 additions & 11 deletions e2e/__external-repos__/memory-usage/test/force-gc/test4.spec.ts

This file was deleted.

11 changes: 0 additions & 11 deletions e2e/__external-repos__/memory-usage/test/force-gc/test5.spec.ts

This file was deleted.

11 changes: 0 additions & 11 deletions e2e/__external-repos__/memory-usage/test/force-gc/test6.spec.ts

This file was deleted.

11 changes: 0 additions & 11 deletions e2e/__external-repos__/memory-usage/test/force-gc/test7.spec.ts

This file was deleted.

11 changes: 0 additions & 11 deletions e2e/__external-repos__/memory-usage/test/force-gc/test8.spec.ts

This file was deleted.

11 changes: 0 additions & 11 deletions e2e/__external-repos__/memory-usage/test/force-gc/test9.spec.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NestExpressApplication } from "@nestjs/platform-express";
import type { NestExpressApplication } from "@nestjs/platform-express";
import { Test } from "@nestjs/testing";
import { range } from "lodash";
import { AppModule } from "../../src/app.module";
Expand All @@ -11,7 +11,7 @@ describe("test1", () => {
imports: [AppModule],
}).compile();

const app = testingModule.createNestApplication<NestExpressApplication>();
app = testingModule.createNestApplication<NestExpressApplication>();
await app.init();
});

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NestExpressApplication } from "@nestjs/platform-express";
import type { NestExpressApplication } from "@nestjs/platform-express";
import { Test } from "@nestjs/testing";
import { range } from "lodash";
import { AppModule } from "../../src/app.module";
Expand All @@ -11,7 +11,7 @@ describe("test10", () => {
imports: [AppModule],
}).compile();

const app = testingModule.createNestApplication<NestExpressApplication>();
app = testingModule.createNestApplication<NestExpressApplication>();
await app.init();
});

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NestExpressApplication } from "@nestjs/platform-express";
import type { NestExpressApplication } from "@nestjs/platform-express";
import { Test } from "@nestjs/testing";
import { range } from "lodash";
import { AppModule } from "../../src/app.module";
Expand All @@ -11,7 +11,7 @@ describe("test11", () => {
imports: [AppModule],
}).compile();

const app = testingModule.createNestApplication<NestExpressApplication>();
app = testingModule.createNestApplication<NestExpressApplication>();
await app.init();
});

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NestExpressApplication } from "@nestjs/platform-express";
import type { NestExpressApplication } from "@nestjs/platform-express";
import { Test } from "@nestjs/testing";
import { range } from "lodash";
import { AppModule } from "../../src/app.module";
Expand All @@ -11,7 +11,7 @@ describe("test12", () => {
imports: [AppModule],
}).compile();

const app = testingModule.createNestApplication<NestExpressApplication>();
app = testingModule.createNestApplication<NestExpressApplication>();
await app.init();
});

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NestExpressApplication } from "@nestjs/platform-express";
import type { NestExpressApplication } from "@nestjs/platform-express";
import { Test } from "@nestjs/testing";
import { range } from "lodash";
import { AppModule } from "../../src/app.module";
Expand All @@ -11,7 +11,7 @@ describe("test2", () => {
imports: [AppModule],
}).compile();

const app = testingModule.createNestApplication<NestExpressApplication>();
app = testingModule.createNestApplication<NestExpressApplication>();
await app.init();
});

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NestExpressApplication } from "@nestjs/platform-express";
import type { NestExpressApplication } from "@nestjs/platform-express";
import { Test } from "@nestjs/testing";
import { range } from "lodash";
import { AppModule } from "../../src/app.module";
Expand All @@ -11,7 +11,7 @@ describe("test3", () => {
imports: [AppModule],
}).compile();

const app = testingModule.createNestApplication<NestExpressApplication>();
app = testingModule.createNestApplication<NestExpressApplication>();
await app.init();
});

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NestExpressApplication } from "@nestjs/platform-express";
import type { NestExpressApplication } from "@nestjs/platform-express";
import { Test } from "@nestjs/testing";
import { range } from "lodash";
import { AppModule } from "../../src/app.module";
Expand All @@ -11,7 +11,7 @@ describe("test4", () => {
imports: [AppModule],
}).compile();

const app = testingModule.createNestApplication<NestExpressApplication>();
app = testingModule.createNestApplication<NestExpressApplication>();
await app.init();
});

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NestExpressApplication } from "@nestjs/platform-express";
import type { NestExpressApplication } from "@nestjs/platform-express";
import { Test } from "@nestjs/testing";
import { range } from "lodash";
import { AppModule } from "../../src/app.module";
Expand All @@ -11,7 +11,7 @@ describe("test5", () => {
imports: [AppModule],
}).compile();

const app = testingModule.createNestApplication<NestExpressApplication>();
app = testingModule.createNestApplication<NestExpressApplication>();
await app.init();
});

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NestExpressApplication } from "@nestjs/platform-express";
import type { NestExpressApplication } from "@nestjs/platform-express";
import { Test } from "@nestjs/testing";
import { range } from "lodash";
import { AppModule } from "../../src/app.module";
Expand All @@ -11,7 +11,7 @@ describe("test6", () => {
imports: [AppModule],
}).compile();

const app = testingModule.createNestApplication<NestExpressApplication>();
app = testingModule.createNestApplication<NestExpressApplication>();
await app.init();
});

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NestExpressApplication } from "@nestjs/platform-express";
import type { NestExpressApplication } from "@nestjs/platform-express";
import { Test } from "@nestjs/testing";
import { range } from "lodash";
import { AppModule } from "../../src/app.module";
Expand All @@ -11,7 +11,7 @@ describe("test7", () => {
imports: [AppModule],
}).compile();

const app = testingModule.createNestApplication<NestExpressApplication>();
app = testingModule.createNestApplication<NestExpressApplication>();
await app.init();
});

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NestExpressApplication } from "@nestjs/platform-express";
import type { NestExpressApplication } from "@nestjs/platform-express";
import { Test } from "@nestjs/testing";
import { range } from "lodash";
import { AppModule } from "../../src/app.module";
Expand All @@ -11,7 +11,7 @@ describe("test8", () => {
imports: [AppModule],
}).compile();

const app = testingModule.createNestApplication<NestExpressApplication>();
app = testingModule.createNestApplication<NestExpressApplication>();
await app.init();
});

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NestExpressApplication } from "@nestjs/platform-express";
import type { NestExpressApplication } from "@nestjs/platform-express";
import { Test } from "@nestjs/testing";
import { range } from "lodash";
import { AppModule } from "../../src/app.module";
Expand All @@ -11,7 +11,7 @@ describe("test9", () => {
imports: [AppModule],
}).compile();

const app = testingModule.createNestApplication<NestExpressApplication>();
app = testingModule.createNestApplication<NestExpressApplication>();
await app.init();
});

Expand Down
Loading

0 comments on commit 9909b9d

Please sign in to comment.