fix(test): typescirpt modern mode only check once

This commit is contained in:
Clark Du 2019-01-21 09:26:59 +00:00
parent 6504e108ea
commit 70775e121a

View File

@ -8,7 +8,7 @@ describe('typescript modern', () => {
beforeAll(async () => { beforeAll(async () => {
const options = await loadFixture('typescript') const options = await loadFixture('typescript')
nuxt = new Nuxt(Object.assign(options, { modern: true })) nuxt = new Nuxt(Object.assign(options, { modern: true, build: { useForkTsChecker: true } }))
await new Builder(nuxt, BundleBuilder).build() await new Builder(nuxt, BundleBuilder).build()
}) })