mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-17 06:01:34 +00:00
test: update deprecate.test
This commit is contained in:
parent
f4fc8405a7
commit
c1f77a5252
@ -48,9 +48,9 @@ test.serial('Deprecated: context.isServer and context.isClient', async t => {
|
||||
|
||||
test.serial('Deprecated: dev in build.extend()', async t => {
|
||||
t.true(
|
||||
buildSpies.warn.withArgs(
|
||||
buildSpies.warn.calledWithMatch(
|
||||
'dev has been deprecated in build.extend(), please use isDev'
|
||||
).calledTwice
|
||||
)
|
||||
)
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user