Skip to content

Commit 65453ba

Browse files
committed
Add test for export const arrow function. Closes #39.
1 parent 5951545 commit 65453ba

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/src/worker.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,4 @@ export function throwError() {
1010
throw new Error('Error in worker.js');
1111
}
1212

13-
export function bar(a, b) {
14-
return `${a} [bar:${otherBar}] ${b}`;
15-
}
13+
export const bar = (a, b) => `${a} [bar:${otherBar}] ${b}`;

0 commit comments

Comments
 (0)