@@ -141,7 +141,13 @@ const testConfigs: TestConfig[] = [
141141 enable_nodejs_os_module : false ,
142142 } ,
143143 } ,
144- // TODO: add a config when os is enabled by default (>= 2025-09-15)
144+ {
145+ name : "os enabled by date" ,
146+ compatibilityDate : "2025-09-15" ,
147+ expectRuntimeFlags : {
148+ enable_nodejs_os_module : true ,
149+ } ,
150+ } ,
145151 {
146152 name : "os enabled by flag" ,
147153 compatibilityDate : "2024-09-23" ,
@@ -150,10 +156,9 @@ const testConfigs: TestConfig[] = [
150156 enable_nodejs_os_module : true ,
151157 } ,
152158 } ,
153- // TODO: change the date pass the default enabled date (>= 2025-09-15)
154159 {
155160 name : "os disabled by flag" ,
156- compatibilityDate : "2025-07-26 " ,
161+ compatibilityDate : "2025-09-15 " ,
157162 compatibilityFlags : [ "disable_nodejs_os_module" ] ,
158163 expectRuntimeFlags : {
159164 enable_nodejs_os_module : false ,
@@ -169,7 +174,13 @@ const testConfigs: TestConfig[] = [
169174 enable_nodejs_fs_module : false ,
170175 } ,
171176 } ,
172- // TODO: add a config when fs is enabled by default (>= 2025-09-15)
177+ {
178+ name : "fs enabled by date" ,
179+ compatibilityDate : "2025-09-15" ,
180+ expectRuntimeFlags : {
181+ enable_nodejs_fs_module : true ,
182+ } ,
183+ } ,
173184 {
174185 name : "fs enabled by flag" ,
175186 compatibilityDate : "2024-09-23" ,
@@ -178,10 +189,9 @@ const testConfigs: TestConfig[] = [
178189 enable_nodejs_fs_module : true ,
179190 } ,
180191 } ,
181- // TODO: change the date pass the default enabled date (>= 2025-09-15)
182192 {
183193 name : "fs disabled by flag" ,
184- compatibilityDate : "2025-07-26 " ,
194+ compatibilityDate : "2025-09-15 " ,
185195 compatibilityFlags : [ "disable_nodejs_fs_module" ] ,
186196 expectRuntimeFlags : {
187197 enable_nodejs_fs_module : false ,
@@ -191,13 +201,19 @@ const testConfigs: TestConfig[] = [
191201 // node:process v2
192202 [
193203 {
194- name : "process v1 by date" ,
204+ name : "process v1 by date" ,
195205 compatibilityDate : "2024-09-23" ,
196206 expectRuntimeFlags : {
197207 enable_nodejs_process_v2 : false ,
198208 } ,
199209 } ,
200- // TODO: add a config when v2 is enabled by default (>= 2025-09-15)
210+ {
211+ name : "process v2 by date" ,
212+ compatibilityDate : "2025-09-15" ,
213+ expectRuntimeFlags : {
214+ enable_nodejs_process_v2 : true ,
215+ } ,
216+ } ,
201217 {
202218 name : "process v2 by flag" ,
203219 compatibilityDate : "2024-09-23" ,
@@ -206,10 +222,9 @@ const testConfigs: TestConfig[] = [
206222 enable_nodejs_process_v2 : true ,
207223 } ,
208224 } ,
209- // TODO: change the date pass the default enabled date (>= 2025-09-15)
210225 {
211226 name : "process v1 by flag" ,
212- compatibilityDate : "2024 -09-23 " ,
227+ compatibilityDate : "2025 -09-15 " ,
213228 compatibilityFlags : [ "disable_nodejs_process_v2" ] ,
214229 expectRuntimeFlags : {
215230 enable_nodejs_process_v2 : false ,
0 commit comments