feat: email tests

This commit is contained in:
Ben Warzeski
2022-06-13 15:05:55 -04:00
parent 4172f5c4db
commit 61cff124a8
8 changed files with 3916 additions and 3454 deletions

View File

@@ -166,6 +166,10 @@ export class MockUseState {
);
}
expectInitializedWith(key, value) {
expect(this.hooks.state[key]).toHaveBeenCalledWith(value);
}
/**
* Restore the hook module's state object to the actual code.
*/