Remove not needed import polyfill by changing the order of import

This commit is contained in:
Fienny Angelina 2018-10-08 00:39:01 +08:00
parent 85f9b0aa77
commit 9263aa693a
2 changed files with 2 additions and 4 deletions

View file

@ -1,7 +1,6 @@
import '@babel/polyfill';
import path from 'path';
import loadDocs from '@lib/load/docs';
import loadSetup from '../../loadSetup';
import loadDocs from '@lib/load/docs';
describe('loadDocs', () => {
test('simple website', async () => {

View file

@ -1,7 +1,6 @@
import '@babel/polyfill';
import path from 'path';
import processMetadata from '@lib/load/docs/metadata';
import loadSetup from '../../loadSetup';
import processMetadata from '@lib/load/docs/metadata';
describe('processMetadata', () => {
test('normal docs', async () => {