Skip to content

Commit d676ae8

Browse files
Use vitest for browser test (#129)
* use vitest for browser test * update comment * install chrome * remove node 18 * update * update
1 parent 0a64363 commit d676ae8

File tree

11 files changed

+1450
-195
lines changed

11 files changed

+1450
-195
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
strategy:
2020
matrix:
21-
node-version: [18.x, 20.x, 22.x, 24.x]
21+
node-version: [20.x, 22.x, 24.x]
2222

2323
defaults:
2424
run:

src/feature-management-applicationinsights-browser/rollup.config.mjs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ export default [
2323
"ESNext"
2424
],
2525
"skipDefaultLibCheck": true,
26-
"module": "ESNext",
27-
"moduleResolution": "Node",
26+
"module": "NodeNext",
27+
"moduleResolution": "NodeNext",
2828
"target": "ES2022",
2929
"strictNullChecks": true,
3030
"strictFunctionTypes": true,
@@ -35,6 +35,7 @@ export default [
3535
],
3636
},
3737
{
38+
external: ["@microsoft/feature-management"],
3839
input: "src/index.ts",
3940
output: [{ file: "types/index.d.ts", format: "esm" }],
4041
plugins: [dts()],

src/feature-management-applicationinsights-node/rollup.config.mjs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ export default [
2929
"ESNext"
3030
],
3131
"skipDefaultLibCheck": true,
32-
"module": "ESNext",
33-
"moduleResolution": "Node",
32+
"module": "NodeNext",
33+
"moduleResolution": "NodeNext",
3434
"target": "ES2022",
3535
"strictNullChecks": true,
3636
"strictFunctionTypes": true,
@@ -41,6 +41,7 @@ export default [
4141
],
4242
},
4343
{
44+
external: ["@microsoft/feature-management"],
4445
input: "src/index.ts",
4546
output: [{ file: "types/index.d.ts", format: "esm" }],
4647
plugins: [dts()],

0 commit comments

Comments
 (0)