Repository navigation
Commit 0fbce86
committed
test(vitest-plugin): derive expected v8 flags from getV8Flags
The hardcoded flag list broke on Node 24, which adds --no-maglev; asserting the
plugin wiring instead of duplicating the version-dependent flag list keeps the
test valid across Node majors.1 parent 622876f commit 0fbce86
1 file changed
Lines changed: 3 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
113 | 114 | | |
114 | 115 | | |
115 | 116 | | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
| 117 | + | |
128 | 118 | | |
129 | 119 | | |
130 | 120 | | |
| |||
152 | 142 | | |
153 | 143 | | |
154 | 144 | | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
| 145 | + | |
167 | 146 | | |
168 | 147 | | |
169 | 148 | | |
| |||
0 commit comments