Skip to content

Commit fdf7c98

Browse files
fix read name of undefined
1 parent 9f82f03 commit fdf7c98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ async function main(sources: string[]) {
7070
},
7171

7272
map: async ({ sample, fixtureName }: WorkItem, index) => {
73-
const fixture = fixtures.find(({ name }) => name === fixtureName);
73+
const fixture = fixtures.find((fixture) => fixture.name === fixtureName);
7474

7575
try {
7676
await fixture?.runWithSample(sample, index, tests.length);

0 commit comments

Comments
 (0)