test: update deprecate.test

This commit is contained in:
Pooya Parsa 2018-01-13 09:12:07 +03:30
parent f4fc8405a7
commit c1f77a5252

View File

@ -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
)
)
})