Skip to content

Commit

Permalink
FOOP
Browse files Browse the repository at this point in the history
  • Loading branch information
nikku committed Jul 20, 2023
1 parent 36ce776 commit 452e58b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/integration/compile-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ function test(options = { it: it }) {
const actualFile = path.join(__dirname, 'compilation', 'test', 'bpmnlintrc.actual.js');
const expectedFile = path.join(__dirname, 'compilation', 'test', 'bpmnlintrc.expected.js');

const root = path.posix.normalize(process.cwd());
const root = path.posix.normalize(
process.cwd().split(path.sep).join(path.posix.sep)
);

if (process.env.UPDATE_FIXTURES) {
fs.writeFileSync(expectedFile, read(actualFile).split(root).join('$ROOT'), 'utf8');
Expand Down

0 comments on commit 452e58b

Please sign in to comment.