Skip to content

Commit

Permalink
fix(node): fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
meeroslav committed Nov 28, 2022
1 parent b4c88d9 commit a601f4d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions e2e/node/src/node.test.ts
Expand Up @@ -227,7 +227,9 @@ describe('Node Applications', () => {
describe('Build Node apps', () => {
beforeEach(() => newProject());

it('should generate a package.json with the `--generatePackageJson` flag', async () => {
afterEach(() => cleanupProject());

it('should generate a package.json with the `--generatePackageJson` flag MMM', async () => {
const scope = newProject();
const nestapp = uniq('nestapp');
runCLI(`generate @nrwl/nest:app ${nestapp} --linter=eslint`);
Expand All @@ -251,9 +253,6 @@ describe('Build Node apps', () => {
expect(
satisfies(packageJson.dependencies['@nestjs/core'], '^9.0.0')
).toBeTruthy();
expect(
satisfies(packageJson.dependencies['@nestjs/platform-express'], '^9.0.0')
).toBeTruthy();
expect(
satisfies(packageJson.dependencies['reflect-metadata'], '^0.1.13')
).toBeTruthy();
Expand Down

0 comments on commit a601f4d

Please sign in to comment.