We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 537254a commit 66bcaeeCopy full SHA for 66bcaee
test/test.ts
@@ -20,7 +20,7 @@ async function main(sources: string[]) {
20
if (fixturesFromCmdline) {
21
const fixtureNames = fixturesFromCmdline.split(",");
22
fixtures = fixtures.filter((fixture) =>
23
- fixtureNames.some(fixture.runForName),
+ fixtureNames.some((name) => fixture.runForName(name)),
24
);
25
}
26
@@ -70,7 +70,9 @@ async function main(sources: string[]) {
70
},
71
72
map: async ({ sample, fixtureName }: WorkItem, index) => {
73
- const fixture = fixtures.find((fixture) => fixture.name === fixtureName);
+ const fixture = fixtures.find(
74
+ (fixture) => fixture.name === fixtureName,
75
+ );
76
77
try {
78
await fixture?.runWithSample(sample, index, tests.length);
0 commit comments