Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed May 24, 2023
1 parent b9f7fbf commit af6e498
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 8 additions & 0 deletions test/typescript/test/__snapshots__/runner.test.ts.snap
Expand Up @@ -93,6 +93,7 @@ Breaking changes might not follow semver, please pin Vitest's version when using
⎯⎯⎯⎯⎯⎯ Typecheck Error ⎯⎯⎯⎯⎯⎯⎯
Error: error TS18003: No inputs were found in config file '<root>/tsconfig.vitest-temp.json'. Specified 'include' paths were '[\\"src\\"]' and 'exclude' paths were '[\\"**/dist/**\\",\\"./dist\\"]'.
"
`;
Expand All @@ -102,3 +103,10 @@ TypeCheckError: Expected 1 arguments, but got 0.
TypeCheckError: Expected 1 arguments, but got 0.
TypeCheckError: Expected 1 arguments, but got 0."
`;
exports[`should fail > typecheks with custom tsconfig 1`] = `
"TypeCheckError: Expected 1 arguments, but got 0.
TypeCheckError: Expected 1 arguments, but got 0.
TypeCheckError: Expected 1 arguments, but got 0.
TypeCheckError: Expected 1 arguments, but got 0."
`;
2 changes: 0 additions & 2 deletions test/typescript/test/runner.test.ts
Expand Up @@ -79,14 +79,12 @@ describe('should fail', async () => {
const { stderr } = await runVitestCli(
{
cwd: root,
reject: false,
env: {
...process.env,
CI: 'true',
NO_COLOR: 'true',
},
},
'vitest',
'typecheck',
'--run',
'--dir',
Expand Down

0 comments on commit af6e498

Please sign in to comment.