Skip to content

Commit

Permalink
test: update vitest environment
Browse files Browse the repository at this point in the history
Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
  • Loading branch information
unicornware committed Aug 25, 2022
1 parent 8cfe138 commit 8b79d00
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions vitest-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/// <reference types='vitest/globals' />

interface ImportMetaEnv extends Readonly<import('vite').ImportMetaEnv> {
readonly BASE_URL: string
readonly CI: 'false' | 'true'
readonly DEV: '1' | import('@flex-development/tutils').EmptyString
readonly MODE: import('@flex-development/tutils').NodeEnv.TEST
Expand All @@ -9,10 +10,7 @@ interface ImportMetaEnv extends Readonly<import('vite').ImportMetaEnv> {
readonly SSR: '1' | import('@flex-development/tutils').EmptyString
readonly TEST: 'true'
readonly VITEST: 'true'
readonly VITEST_MODE: 'DEV' | 'RUN'
readonly VITEST_POOL_ID: `${number}`
readonly VITEST_WORKER_ID: `${number}`
readonly VITE_ROOT: string
readonly VITEST_CLI_WRAPPER: 'false' | 'true'
readonly VITE_USER_NODE_ENV: import('@flex-development/tutils').NodeEnv.TEST
readonly VITEST_SEGFAULT_RETRY: import('@flex-development/tutils').Numeric
}
Expand Down

0 comments on commit 8b79d00

Please sign in to comment.