Skip to content

Commit

Permalink
fix(test): normalize as arguments to include
Browse files Browse the repository at this point in the history
- got a Windows error in CI for the `errors` test suite
  • Loading branch information
agilgur5 committed Jul 5, 2022
1 parent 58b06c4 commit 62c3b85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion __tests__/integration/errors.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { jest, afterAll, test, expect } from "@jest/globals";
import * as path from "path";
import { normalizePath as normalize } from "@rollup/pluginutils";
import * as fs from "fs-extra";
import { red } from "colors/safe";

Expand All @@ -20,7 +21,7 @@ afterAll(async () => {
});

async function genBundle(relInput: string, extraOpts?: RPT2Options) {
const input = local(`fixtures/errors/${relInput}`)
const input = normalize(local(`fixtures/errors/${relInput}`));
return helpers.genBundle({
input,
tsconfig: local("fixtures/errors/tsconfig.json"),
Expand Down

0 comments on commit 62c3b85

Please sign in to comment.