chore: lint

master
Sébastien Chopin 2020-04-13 15:26:28 +02:00 committed by Pooya Parsa
parent e37358f5b2
commit fd1b3f2f5a
1 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ describe('defaults', () => {
})
expect(nuxt.moduleContainer.addTemplate).toBeDefined()
expect(nuxt.moduleContainer.requireModule).toBeDefined()
expect(nuxt.moduleContainer.requireModule.mock.calls[0][0]).toStrictEqual([ '@nuxtjs/proxy', {} ])
expect(nuxt.moduleContainer.requireModule.mock.calls[0][0]).toStrictEqual(['@nuxtjs/proxy', {}])
})
test('should include @nuxtjs/proxy module and give proxy options', async () => {
@ -90,6 +90,6 @@ describe('defaults', () => {
})
expect(nuxt.moduleContainer.addTemplate).toBeDefined()
expect(nuxt.moduleContainer.requireModule).toBeDefined()
expect(nuxt.moduleContainer.requireModule.mock.calls[0][0]).toStrictEqual([ '@nuxtjs/proxy', { hello: true } ])
expect(nuxt.moduleContainer.requireModule.mock.calls[0][0]).toStrictEqual(['@nuxtjs/proxy', { hello: true }])
})
})