Skip to content

Commit 504d5f0

Browse files
committed
Add PLAYWRIGHT env var validation
1 parent 407c7dc commit 504d5f0

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/lib/config/environmentalVariableValidation.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,14 @@ export const environmentalVariablesConfig: AstroUserConfig['env'] = {
3232
/**
3333
* Set in Vitest config for unit tests
3434
*/
35+
PLAYWRIGHT: envField.string({
36+
access: 'public',
37+
context: 'client',
38+
optional: true,
39+
}),
3540
VITEST: envField.string({
3641
access: 'public',
3742
context: 'client',
38-
default: false,
3943
optional: true,
4044
}),
4145
/**

0 commit comments

Comments
 (0)