Skip to content

Commit

Permalink
fix(tests): fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ygj6 committed Jul 2, 2021
1 parent e894033 commit a922e83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/generate.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ test('geneIndexHtml', () => {
const config : Config = {
projectType: 'vue-cli'
}
geneIndexHtml(process.cwd(), config);
geneIndexHtml(path.resolve('../'), config);
const filePath = path.resolve('./tests/out/index.html');
const content = readSync(filePath);
expect(content).toContain('src/main.js');
Expand Down

0 comments on commit a922e83

Please sign in to comment.