diff --git a/test/unit/basic.generate.test.js b/test/unit/basic.generate.test.js index 8b8a9537d2..1ab5afa9ec 100644 --- a/test/unit/basic.generate.test.js +++ b/test/unit/basic.generate.test.js @@ -65,7 +65,7 @@ describe('basic generate', () => { const window = await generator.nuxt.renderAndGetWindow(url('/css')) const headHtml = window.document.head.innerHTML - expect(headHtml.includes('.red{color:red}')).toBe(true) + expect(headHtml.includes('.red{color:red')).toBe(true) const element = window.document.querySelector('.red') expect(element).not.toBe(null) diff --git a/test/unit/basic.ssr.test.js b/test/unit/basic.ssr.test.js index dc86614614..6079e9731a 100644 --- a/test/unit/basic.ssr.test.js +++ b/test/unit/basic.ssr.test.js @@ -39,7 +39,7 @@ describe('basic ssr', () => { const window = await nuxt.renderAndGetWindow(url('/css')) const headHtml = window.document.head.innerHTML - expect(headHtml.includes('background-color:blue')).toBe(true) + expect(headHtml.includes('background-color:#00f')).toBe(true) // const element = window.document.querySelector('div.red') // t.is(window.getComputedStyle(element)['background-color'], 'blue')