We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
local
1 parent 9116503 commit 132b8f0Copy full SHA for 132b8f0
__tests__/integration/index.spec.ts
@@ -1,13 +1,16 @@
1
import { test, expect } from "@jest/globals";
2
+import * as path from "path";
3
import { rollup } from "rollup";
4
5
import rpt2 from "../../src/index";
6
-test.only("integration - no error case", async () => {
7
+const local = (x: string) => path.resolve(__dirname, x);
8
+
9
+test("integration - no error case", async () => {
10
const bundle = await rollup({
- input: "./__tests__/integration/fixtures/no-errors/index.ts",
11
+ input: local("fixtures/no-errors/index.ts"),
12
plugins: [rpt2({
- tsconfig: "./__tests__/integration/fixtures/tsconfig.json",
13
+ tsconfig: local("fixtures/tsconfig.json"),
14
})],
15
});
16
0 commit comments