Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add VITE_NODE_DEPS_MODULE_DIRECTORIES env
- Loading branch information
1 parent
81d61d6
commit 23bfefa
Showing
6 changed files
with
25 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
import { describe, expect, test } from 'vitest' | ||
|
||
describe('suite timeout', () => { | ||
test('true is true after 5100ms', async () => { | ||
await new Promise(resolve => setTimeout(resolve, 5100)) | ||
test('true is true after 100ms', async () => { | ||
await new Promise(resolve => setTimeout(resolve, 10)) | ||
expect(true).toBe(true) | ||
}) | ||
}, { | ||
timeout: 6000, | ||
timeout: 100, | ||
}) | ||
|
||
describe('suite timeout simple input', () => { | ||
test('true is true after 5100ms', async () => { | ||
await new Promise(resolve => setTimeout(resolve, 5100)) | ||
test('true is true after 100ms', async () => { | ||
await new Promise(resolve => setTimeout(resolve, 10)) | ||
expect(true).toBe(true) | ||
}) | ||
}, 6000) | ||
}, 100) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters