Skip to content

Commit c043fdf

Browse files
committed
fix: typo in mockk generator
Fix typo in generated code and update .gitignore file
1 parent 62c1e8c commit c043fdf

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

.gitignore

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,16 @@
1+
# dependencies
2+
node_modules
3+
4+
# IDE files
15
.idea
2-
dist
6+
.vscode
7+
8+
# production
9+
/dist
10+
11+
# misc
12+
.DS_Store
13+
npm-debug.log*
14+
yarn-debug.log*
15+
yarn-error.log*
16+

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export const ${toMockName(typeName)} = (overrides?: Partial<${typeName}>): ${typ
157157
return {
158158
${mockFields}
159159
...overrides
160-
});
160+
};
161161
};`;
162162
},
163163
};

0 commit comments

Comments
 (0)