fix global teardown test

This commit is contained in:
Simon Knott 2024-11-05 10:00:19 +01:00
parent 62fd8b41de
commit 4b4c091fd7
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -442,7 +442,7 @@ test('sigint should stop global setup', async ({ interactWithTestRunner }) => {
const result = parseTestRunnerOutput(testProcess.output); const result = parseTestRunnerOutput(testProcess.output);
expect(result.passed).toBe(0); expect(result.passed).toBe(0);
expect(result.output).toContain('Global setup'); expect(result.output).toContain('Global setup');
expect(result.output).not.toContain('Global teardown'); expect(result.output).toContain('Global teardown');
}); });
test('sigint should stop plugins', async ({ interactWithTestRunner }) => { test('sigint should stop plugins', async ({ interactWithTestRunner }) => {