fix: Cause of sporadic test failures in CI, promise not returned for flushdb
This commit is contained in:
@ -16,10 +16,10 @@ jest.mock("aws-sdk", () => {
|
||||
});
|
||||
|
||||
beforeEach(() => {
|
||||
flushdb();
|
||||
|
||||
// $FlowFixMe
|
||||
sendEmail.mockReset();
|
||||
|
||||
return flushdb();
|
||||
});
|
||||
|
||||
describe("accountProvisioner", () => {
|
||||
|
Reference in New Issue
Block a user