Skip to content

Commit 62c3b85

Browse files
committed
fix(test): normalize as arguments to include
- got a Windows error in CI for the `errors` test suite
1 parent 58b06c4 commit 62c3b85

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

__tests__/integration/errors.spec.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { jest, afterAll, test, expect } from "@jest/globals";
22
import * as path from "path";
3+
import { normalizePath as normalize } from "@rollup/pluginutils";
34
import * as fs from "fs-extra";
45
import { red } from "colors/safe";
56

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

2223
async function genBundle(relInput: string, extraOpts?: RPT2Options) {
23-
const input = local(`fixtures/errors/${relInput}`)
24+
const input = normalize(local(`fixtures/errors/${relInput}`));
2425
return helpers.genBundle({
2526
input,
2627
tsconfig: local("fixtures/errors/tsconfig.json"),

0 commit comments

Comments
 (0)