mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
Merge branch 'dev' into feat/esm
This commit is contained in:
commit
0fa5b8f9a7
@ -57,31 +57,31 @@ const uniqueTest = async (t, url) => {
|
||||
return results
|
||||
}
|
||||
|
||||
test('unique responses with data()', async t => {
|
||||
test.serial('unique responses with data()', async t => {
|
||||
await uniqueTest(t, '/data')
|
||||
})
|
||||
|
||||
test('unique responses with component', async t => {
|
||||
test.serial('unique responses with component', async t => {
|
||||
await uniqueTest(t, '/component')
|
||||
})
|
||||
|
||||
test('unique responses with async components', async t => {
|
||||
test.serial('unique responses with async components', async t => {
|
||||
await uniqueTest(t, '/asyncComponent')
|
||||
})
|
||||
|
||||
test('unique responses with asyncData()', async t => {
|
||||
test.serial('unique responses with asyncData()', async t => {
|
||||
await uniqueTest(t, '/asyncData')
|
||||
})
|
||||
|
||||
test('unique responses with store initial state', async t => {
|
||||
test.serial('unique responses with store initial state', async t => {
|
||||
await uniqueTest(t, '/store')
|
||||
})
|
||||
|
||||
test('unique responses with nuxtServerInit', async t => {
|
||||
test.serial('unique responses with nuxtServerInit', async t => {
|
||||
await uniqueTest(t, '/store?onServerInit=1')
|
||||
})
|
||||
|
||||
test('unique responses with fetch', async t => {
|
||||
test.serial('unique responses with fetch', async t => {
|
||||
await uniqueTest(t, '/fetch')
|
||||
})
|
||||
|
||||
@ -107,7 +107,7 @@ const stressTest = async (t, _url, concurrency = 2, steps = 4) => {
|
||||
t.is(statusCodes[200], concurrency * steps)
|
||||
}
|
||||
|
||||
test('stress test with asyncData', async t => {
|
||||
test.serial('stress test with asyncData', async t => {
|
||||
await stressTest(t, '/asyncData')
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user