mirror of
https://github.com/status-im/status-web.git
synced 2025-02-22 09:18:28 +00:00
use process.env.VITEST
This commit is contained in:
parent
45cd81eaab
commit
add9e31d8d
@ -14,7 +14,7 @@ const external = [
|
||||
export default defineConfig(({ mode }) => {
|
||||
const alias: Alias[] = []
|
||||
|
||||
if (mode === 'test') {
|
||||
if (process.env.VITEST === 'true' || mode === 'test') {
|
||||
alias.push({
|
||||
/**
|
||||
* Note: `happy-dom` nor `jsdom` have Crypto implemented (@see https://github.com/jsdom/jsdom/issues/1612)
|
||||
|
Loading…
x
Reference in New Issue
Block a user