(test: Task)
| 168 | } |
| 169 | |
| 170 | onBeforeTryTask(test: Task): void { |
| 171 | clearModuleMocks(this.config) |
| 172 | this.snapshotClient.clearTest(test.file.filepath, test.id) |
| 173 | setState( |
| 174 | { |
| 175 | assertionCalls: 0, |
| 176 | isExpectingAssertions: false, |
| 177 | isExpectingAssertionsError: null, |
| 178 | expectedAssertionsNumber: null, |
| 179 | expectedAssertionsNumberErrorGen: null, |
| 180 | currentTestName: getTestName(test), |
| 181 | snapshotState: this.snapshotClient.getSnapshotState(test.file.filepath), |
| 182 | }, |
| 183 | (globalThis as any)[GLOBAL_EXPECT], |
| 184 | ) |
| 185 | } |
| 186 | |
| 187 | onAfterTryTask(test: Test): void { |
| 188 | const { |
no test coverage detected