Skip to content

Commit 0dfa1a1

Browse files
committed
chore: we don't need tests for vite-react-spa
1 parent 5fe747b commit 0dfa1a1

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

cmp/compiler/src/plugin/transform/process-file.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
/**
2-
* Keep mutations to the current node and children. e.g. do not mutate program inserting imports when processing the component. This should be done in the end.
2+
* Keep mutations to the current node and children. Do not mutate program inserting imports when processing the component.
3+
* This should be done in the end.
4+
* The overall idea is that state is used for side effect tracking. When we exit relevant points, we check if we need to make extra changes at this level.
5+
* e.g. when we transform elements to insert translations, we record their hashes and add the translation hook call when leaving the component.
36
*/
47
import * as t from "@babel/types";
58
import type { NodePath, TraverseOptions } from "@babel/traverse";

cmp/demo/vite-react-spa/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"dev": "vite --port 3000",
77
"build": "vite build && tsc",
88
"serve": "vite preview",
9-
"test": "vitest run",
109
"format": "biome format",
1110
"lint": "biome lint",
1211
"check": "biome check"
@@ -35,7 +34,6 @@
3534
"jsdom": "^27.0.0",
3635
"typescript": "^5.7.2",
3736
"vite": "^7.1.7",
38-
"vitest": "^3.0.5",
3937
"web-vitals": "^5.1.0"
4038
}
4139
}

0 commit comments

Comments
 (0)