Skip to content

Commit

Permalink
change default export
Browse files Browse the repository at this point in the history
  • Loading branch information
phunguyenmurcul committed Oct 9, 2023
1 parent 250a34c commit d3cef31
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ export const methodBar = (): string => {
return 'bar';
};

const methods = { methodFoo, methodBar };

export default methods;
export default {
methodFoo: (): string => {
return 'foo';
},
methodBar: (): string => {
return 'bar';
},
};

0 comments on commit d3cef31

Please sign in to comment.