Disable the update checker in the playground or compat tests

This commit is contained in:
Aria Minaei 2023-02-06 12:40:53 +01:00
parent 4fb60bdd5a
commit 1ce3fd1ca6
4 changed files with 19 additions and 0 deletions

View file

@ -176,6 +176,7 @@ export async function start(options: {
'window.__IS_VISUAL_REGRESSION_TESTING': JSON.stringify(
options.isVisualRegressionTesting,
),
'process.env.BUILT_FOR_PLAYGROUND': JSON.stringify('true'),
},
banner: liveReload?.esbuildBanner,
watch: liveReload?.esbuildWatch && {