diff --git a/__tests__/cli.compile.test.js b/__tests__/cli.compile.test.js index 4e44441d2..dc93a0702 100644 --- a/__tests__/cli.compile.test.js +++ b/__tests__/cli.compile.test.js @@ -13,7 +13,7 @@ describe('cli compile', () => { it('compiles CSS file', () => { return compile({ inputFile, outputFile, plugins }).then((result) => { expect(result.css).toContain('.example') - expect(result.css).toContain('-webkit-max-content') + expect(result.css).toContain('-webkit-background-clip') }) }) }) diff --git a/__tests__/cli.test.js b/__tests__/cli.test.js index e86ebae1e..b464c2749 100644 --- a/__tests__/cli.test.js +++ b/__tests__/cli.test.js @@ -109,13 +109,13 @@ describe('cli', () => { it('compiles CSS file with autoprefixer', () => { return cli(['build', inputCssPath]).then(() => { - expect(process.stdout.write.mock.calls[0][0]).toContain('-webkit-max-content') + expect(process.stdout.write.mock.calls[0][0]).toContain('-webkit-background-clip') }) }) it('compiles CSS file without autoprefixer', () => { return cli(['build', inputCssPath, '--no-autoprefixer']).then(() => { - expect(process.stdout.write.mock.calls[0][0]).not.toContain('-webkit-max-content') + expect(process.stdout.write.mock.calls[0][0]).not.toContain('-webkit-background-clip') }) }) })