Skip to content

Commit

Permalink
Fix Test for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer committed Mar 13, 2020
1 parent fe4da73 commit c135830
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions test/integration/scss/test/index.test.js
Expand Up @@ -37,16 +37,16 @@ describe('SCSS Support', () => {
stderr: true,
})
expect(code).toBe(1)
expect(stderr.split('Require stack:')[0]).toMatchInlineSnapshot(`
"Failed to compile.
./styles/global.scss
To use Next.js' built-in Sass support, you first need to install \`sass\`.
Run \`npm i sass\` or \`yarn add sass\` inside your workspace.
Learn more: https://err.sh/next.js/install-sass
"
`)
expect(stderr).toContain('Failed to compile.')
expect(stderr).toContain(
"To use Next.js' built-in Sass support, you first need to install `sass`."
)
expect(stderr).toContain(
'Run `npm i sass` or `yarn add sass` inside your workspace.'
)
expect(stderr).toContain(
'Learn more: https://err.sh/next.js/install-sass'
)
})
})

Expand Down

0 comments on commit c135830

Please sign in to comment.