chore(server): set script flavor instead of NODE_ENV (#10121)

This commit is contained in:
forehalo
2025-02-12 08:49:51 +00:00
parent 58fed5928b
commit 72bf81245a
8 changed files with 28 additions and 15 deletions

View File

@@ -19,6 +19,7 @@ test.before('start app', async t => {
sync: false,
renderer: false,
doc: true,
script: false,
} satisfies typeof AFFiNE.flavor;
const app = await createTestingApp({
imports: [buildAppModule()],

View File

@@ -21,6 +21,7 @@ test.before('start app', async t => {
sync: false,
renderer: false,
doc: false,
script: false,
} satisfies typeof AFFiNE.flavor;
const app = await createTestingApp({
imports: [buildAppModule()],

View File

@@ -19,6 +19,7 @@ test.before('start app', async t => {
sync: false,
renderer: true,
doc: false,
script: false,
} satisfies typeof AFFiNE.flavor;
const app = await createTestingApp({
imports: [buildAppModule()],

View File

@@ -19,6 +19,7 @@ test.before('start app', async t => {
sync: true,
renderer: false,
doc: false,
script: false,
} satisfies typeof AFFiNE.flavor;
const app = await createTestingApp({
imports: [buildAppModule()],