@spscommerce/e2e-core 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -32,7 +32,8 @@ class JestEnvironmentFailFast extends ParentEnvironment {
|
|
|
32
32
|
// https://github.com/facebook/jest/issues/10059
|
|
33
33
|
// https://github.com/facebook/jest/blob/main/packages/jest-circus/src/eventHandler.ts
|
|
34
34
|
async handleTestEvent(event, state) {
|
|
35
|
-
|
|
35
|
+
await super.handleTestEvent(event);
|
|
36
|
+
|
|
36
37
|
// TEST STARTED
|
|
37
38
|
// Delete already existing screenshot/trace file before test starts if it ran twice due to jest.retryTimes()
|
|
38
39
|
if (event.name === 'test_start') {
|