Skip to content

Commit

Permalink
chore(mock): resolve error
Browse files Browse the repository at this point in the history
  • Loading branch information
TomokiMiyauci committed Dec 14, 2021
1 parent 9e688aa commit 66da312
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mock/fn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ class MockFnStore {
return this.onceImplementations.shift() ?? this.defaultImplementation;
}

/** initialize all value */
clear(): void {
this.defaultImplementation = undefined;
this.onceImplementations = [];
Expand Down

0 comments on commit 66da312

Please sign in to comment.