Skip to content

Commit 4fb0636

Browse files
committed
test(config): keep existing concurrency tests unchanged
1 parent 9c5b873 commit 4fb0636

4 files changed

Lines changed: 0 additions & 21 deletions

File tree

‎packages/rstack/tests/config/load-config/index.test.ts‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,10 @@ test('should isolate parallel config sessions across top-level await', async ()
8888

8989
expect(firstResult.configs).toEqual({
9090
app: { root: 'first' },
91-
fmt: { semi: false },
9291
test: {},
9392
});
9493
expect(secondResult.configs).toEqual({
9594
app: { root: 'second' },
96-
fmt: { semi: true },
9795
lib: {},
9896
});
9997
});
@@ -110,7 +108,6 @@ test('should keep a running session intact when another config fails', async ()
110108

111109
expect((await successfulLoad).configs).toEqual({
112110
app: { root: 'first' },
113-
fmt: { semi: false },
114111
test: {},
115112
});
116113
});
Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
11
import { define } from 'rstack';
22

3-
define.extends([
4-
{
5-
fmt: { semi: true },
6-
},
7-
]);
8-
93
define.app({ root: 'failing' });
104
throw new Error('parallel config error');

‎packages/rstack/tests/config/load-config/parallel-first.config.ts‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
import { define } from 'rstack';
22

3-
define.extends([
4-
{
5-
fmt: { semi: false },
6-
},
7-
]);
8-
93
const hooks = globalThis.__rstackConfigTestHooks!;
104

115
define.app({ root: 'first' });
Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
11
import { define } from 'rstack';
22

3-
define.extends([
4-
{
5-
fmt: { semi: true },
6-
},
7-
]);
8-
93
define.app({ root: 'second' });
104
define.lib({});

0 commit comments

Comments
 (0)