Skip to content

Commit 28921e8

Browse files
committed
style(mock): update mock field type
1 parent 60031df commit 28921e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/generator-cli/src/app/mocks/passthrough-command.mock.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export class PassthroughCommandMock {
22
name = jest.fn().mockReturnValue(this._name);
3-
options: { [key: string]: string } = {};
3+
options: Record<string, string> = {};
44

55
parseOptions = jest.fn().mockImplementation(() => {
66
const result = this.args.find(a => a.startsWith('--custom-generator'))?.split('=')[1];

0 commit comments

Comments
 (0)