mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-18 10:41:56 +10:00
Firebase Stub: resolving ESLint errors
This commit is contained in:
@ -63,7 +63,7 @@ describe('Builder', () => {
|
||||
await FirebaseStub.auth().signInAnonymously();
|
||||
});
|
||||
|
||||
await waitFor(() => expect(mockUpdateFunction).toHaveBeenCalledTimes(1), {
|
||||
await waitFor(() => mockUpdateFunction.mock.calls[0][0], {
|
||||
timeout: DebounceWaitTime,
|
||||
});
|
||||
mockUpdateFunction.mockClear();
|
||||
|
||||
@ -18,7 +18,7 @@ beforeEach(() => {
|
||||
|
||||
describe('Dashboard', () => {
|
||||
let resumes = null;
|
||||
const user = FirebaseStub.database().anonymousUser1;
|
||||
const user = DatabaseConstants.user1;
|
||||
|
||||
beforeEach(async () => {
|
||||
resumes = (
|
||||
|
||||
Reference in New Issue
Block a user