mirror of
https://github.com/kremalicious/portfolio.git
synced 2024-12-22 17:23:22 +01:00
fix ava tests
This commit is contained in:
parent
bbf19daa54
commit
2872296028
@ -55,6 +55,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.2.0",
|
"@babel/core": "^7.2.0",
|
||||||
"@babel/node": "^7.2.0",
|
"@babel/node": "^7.2.0",
|
||||||
|
"@babel/polyfill": "^7.0.0",
|
||||||
"@babel/preset-env": "^7.2.0",
|
"@babel/preset-env": "^7.2.0",
|
||||||
"@svgr/webpack": "^4.1.0",
|
"@svgr/webpack": "^4.1.0",
|
||||||
"ava": "^1.0.1",
|
"ava": "^1.0.1",
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
|
import '@babel/polyfill'
|
||||||
import * as chromeLauncher from 'chrome-launcher'
|
import * as chromeLauncher from 'chrome-launcher'
|
||||||
import { test } from 'ava'
|
import test from 'ava'
|
||||||
import lighthouse from 'lighthouse'
|
import lighthouse from 'lighthouse'
|
||||||
import { siteMetadata } from '../gatsby-config'
|
import { siteMetadata } from '../gatsby-config'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user