(
fixture: TestFixtureItem,
context: TestContext & { [key: string]: any },
cleanupFnArray: (() => void | Promise<void>)[],
)
| 437 | } |
| 438 | |
| 439 | function resolveTestFixtureValue( |
| 440 | fixture: TestFixtureItem, |
| 441 | context: TestContext & { [key: string]: any }, |
| 442 | cleanupFnArray: (() => void | Promise<void>)[], |
| 443 | ) { |
| 444 | if (!isFixtureFunction(fixture.value)) { |
| 445 | return fixture.value |
| 446 | } |
| 447 | |
| 448 | return resolveFixtureFunction( |
| 449 | fixture.value, |
| 450 | fixture.name, |
| 451 | context, |
| 452 | cleanupFnArray, |
| 453 | ) |
| 454 | } |
| 455 | |
| 456 | const scopedFixturePromiseCache = new WeakMap<TestFixtureItem, Promise<unknown>>() |
| 457 |
no test coverage detected