mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-06 04:42:40 +02:00
Remove not needed import polyfill by changing the order of import
This commit is contained in:
parent
85f9b0aa77
commit
9263aa693a
2 changed files with 2 additions and 4 deletions
|
@ -1,7 +1,6 @@
|
||||||
import '@babel/polyfill';
|
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
import loadDocs from '@lib/load/docs';
|
|
||||||
import loadSetup from '../../loadSetup';
|
import loadSetup from '../../loadSetup';
|
||||||
|
import loadDocs from '@lib/load/docs';
|
||||||
|
|
||||||
describe('loadDocs', () => {
|
describe('loadDocs', () => {
|
||||||
test('simple website', async () => {
|
test('simple website', async () => {
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
import '@babel/polyfill';
|
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
import processMetadata from '@lib/load/docs/metadata';
|
|
||||||
import loadSetup from '../../loadSetup';
|
import loadSetup from '../../loadSetup';
|
||||||
|
import processMetadata from '@lib/load/docs/metadata';
|
||||||
|
|
||||||
describe('processMetadata', () => {
|
describe('processMetadata', () => {
|
||||||
test('normal docs', async () => {
|
test('normal docs', async () => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue