Skip to content

Commit

Permalink
FIX: Tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
LuXDAmore committed Dec 6, 2019
1 parent c127952 commit 26deb89
Showing 1 changed file with 7 additions and 19 deletions.
26 changes: 7 additions & 19 deletions test/module.test.js
Original file line number Diff line number Diff line change
@@ -1,26 +1,14 @@
import { Nuxt, Builder } from 'nuxt-edge';
import request from 'request-promise-native';
import getPort from 'get-port';
import config from '../example/nuxt.config';

config.dev = false;

jest.setTimeout(
60000
);

const {
Nuxt,
Builder,
} = require(
'nuxt-edge'
)
, request = require(
'request-promise-native'
)
, getPort = require(
'get-port'
)
, config = require(
'../example/nuxt.config'
)
;

config.dev = false;

let nuxt
, port
;
Expand Down

0 comments on commit 26deb89

Please sign in to comment.