Skip to content

Commit

Permalink
Update test-project.test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
derberg authored Aug 21, 2024
1 parent 8082c8e commit 7f2af96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/generator/test/test-project/test-project.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe('Testing if markdown was generated with proper version of the template'
it('Test B - generated markdown should contain new content because of explicit fresh installation of different template version (install: true)', async () => {
const templateVersion = '0.0.2';

const generator = new Generator(`${templateName}@${templateVersion}`, tempOutputResults, { forceWrite: true, install: true, debug: true, templateParams: { version: 'v1', mode: 'production' } });
const generator = new Generator(`${templateName}@${templateVersion}`, tempOutputResults, { compile: true, forceWrite: true, install: true, debug: true, templateParams: { version: 'v1', mode: 'production' } });
await generator.generateFromFile(dummySpecPath);

const file = await readFile(path.join(tempOutputResults, fileToCheck), 'utf8');
Expand Down Expand Up @@ -95,4 +95,4 @@ describe('Testing if markdown was generated with proper version of the template'
expect(console.log).toHaveBeenCalledWith(logMessage.templateVersion(version));
expect(console.log).toHaveBeenCalledWith(logMessage.NPM_INSTALL_TRIGGER);
});
});
});

0 comments on commit 7f2af96

Please sign in to comment.