Skip to content

Commit

Permalink
fix standalone-cache tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vankop committed Sep 9, 2019
1 parent c5dc10d commit 6ea214c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/__tests__/standalone-cache.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const fixturesPath = path.join(__dirname, "fixtures");
const cpFile = require("cp-file");
const fileExists = require("file-exists-promise");
const fs = require("fs");
const replaceBackslashes = require("./replaceBackslashes");
const { promisify } = require("util");
const unlink = promisify(fs.unlink);
const fCache = require("file-entry-cache");
Expand All @@ -22,7 +23,7 @@ const newFileDest = path.join(fixturesPath, "cache", "newFile.css");
// make sure config doesn't change between runs.
function getConfig() {
return {
files: path.join(fixturesPath, "cache", "*.css"),
files: replaceBackslashes(path.join(fixturesPath, "cache", "*.css")),
config: {
rules: { "block-no-empty": true, "color-no-invalid-hex": true }
},
Expand Down

0 comments on commit 6ea214c

Please sign in to comment.