mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +00:00
misc: remove deprecate.test
This commit is contained in:
parent
fb978b812a
commit
5cd4fe8422
5
test/fixtures/deprecate/deprecate.test.js
vendored
5
test/fixtures/deprecate/deprecate.test.js
vendored
@ -1,5 +0,0 @@
|
||||
const { buildFixture } = require('../../utils/build')
|
||||
|
||||
describe.skip('build deprecate fixture', () => {
|
||||
buildFixture('deprecate')
|
||||
})
|
@ -1,3 +0,0 @@
|
||||
export default function basicModule(options, resolve) {
|
||||
this.addVendor('lodash')
|
||||
}
|
3
test/fixtures/deprecate/nuxt.config.js
vendored
3
test/fixtures/deprecate/nuxt.config.js
vendored
@ -1,3 +0,0 @@
|
||||
export default {
|
||||
modules: ['~/modules/deprecated-apis']
|
||||
}
|
5
test/fixtures/deprecate/package.json
vendored
5
test/fixtures/deprecate/package.json
vendored
@ -1,5 +0,0 @@
|
||||
{
|
||||
"name": "deprecated-apis",
|
||||
"version": "1.0.0",
|
||||
"dependencies": {}
|
||||
}
|
6
test/fixtures/deprecate/pages/about.vue
vendored
6
test/fixtures/deprecate/pages/about.vue
vendored
@ -1,6 +0,0 @@
|
||||
<template>
|
||||
<div>
|
||||
<h1>About page</h1>
|
||||
<nuxt-link to="/">Home page</nuxt-link>
|
||||
</div>
|
||||
</template>
|
11
test/fixtures/deprecate/pages/index.vue
vendored
11
test/fixtures/deprecate/pages/index.vue
vendored
@ -1,11 +0,0 @@
|
||||
<template>
|
||||
<div>
|
||||
<h1>Home page</h1>
|
||||
<nuxt-link to="/about">About page</nuxt-link>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
}
|
||||
</script>
|
@ -1,23 +0,0 @@
|
||||
import { loadFixture, getPort, Nuxt } from '../utils'
|
||||
|
||||
let port
|
||||
|
||||
let nuxt = null
|
||||
// let buildSpies = null
|
||||
|
||||
describe.skip('deprecate', () => {
|
||||
beforeAll(async () => {
|
||||
const config = loadFixture('deprecate')
|
||||
|
||||
nuxt = new Nuxt(config)
|
||||
port = await getPort()
|
||||
await nuxt.listen(port, 'localhost')
|
||||
})
|
||||
|
||||
test()
|
||||
|
||||
// Close server and ask nuxt to stop listening to file changes
|
||||
afterAll(async () => {
|
||||
await nuxt.close()
|
||||
})
|
||||
})
|
Loading…
Reference in New Issue
Block a user