update comment
This commit is contained in:
parent
43691c3468
commit
a99f032bcc
|
|
@ -410,8 +410,8 @@ test('globalSetup should support multiple', async ({ runInlineTest }) => {
|
||||||
}, { reporter: 'line' });
|
}, { reporter: 'line' });
|
||||||
expect(result.passed).toBe(2);
|
expect(result.passed).toBe(2);
|
||||||
|
|
||||||
// behaviour: setups in order, teardowns in reverse order.
|
// first setups, then setup callbacks in reverse order.
|
||||||
// setup-returned functions inherit their position, and take precedence over `globalTeardown` scripts.
|
// then teardowns in declared order.
|
||||||
expect(result.outputLines).toEqual([
|
expect(result.outputLines).toEqual([
|
||||||
'globalSetup1',
|
'globalSetup1',
|
||||||
'globalSetup2',
|
'globalSetup2',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue