Dashboard page: refactored setup of fetch mock, added more assertions to unit test

This commit is contained in:
gianantoniopini
2021-01-26 14:22:27 +01:00
parent e27bedcf88
commit 8018d7f527
6 changed files with 34 additions and 12 deletions

View File

@ -1,6 +1,6 @@
import React from 'react';
import delay from './utils/index';
import { delay } from '../src/utils/index';
const Gatsby = jest.requireActual('gatsby');