mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 23:32:38 +00:00
Revert "temporarily comment _getPort for tesing"
This reverts commit ca1242d5ec
.
This commit is contained in:
parent
a22821af1b
commit
17b01d0aa8
@ -1,6 +1,6 @@
|
|||||||
import path from 'path'
|
import path from 'path'
|
||||||
import fs from 'fs'
|
import fs from 'fs'
|
||||||
// import _getPort from 'get-port'
|
import _getPort from 'get-port'
|
||||||
import { defaultsDeep } from 'lodash'
|
import { defaultsDeep } from 'lodash'
|
||||||
|
|
||||||
import { requireModule } from '../../lib/common/module'
|
import { requireModule } from '../../lib/common/module'
|
||||||
@ -17,8 +17,6 @@ export function loadFixture(fixture, overrides) {
|
|||||||
return defaultsDeep({}, overrides, config)
|
return defaultsDeep({}, overrides, config)
|
||||||
}
|
}
|
||||||
|
|
||||||
let port = 4000
|
|
||||||
|
|
||||||
export function getPort() {
|
export function getPort() {
|
||||||
return port++
|
return _getPort()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user