@@ -109,7 +109,7 @@ describe('[wasm] incomplete-schemas', () => {
109109 await Validate . new ( ) . parse ( [ ] , await ctx . config ( ) )
110110 } catch ( e ) {
111111 expect ( stripVTControlCharacters ( e . message ) ) . toMatchInlineSnapshot (
112- `"Failed to load config file "/tmp/dir" as a TypeScript/JavaScript module. Error: PrismaConfigEnvError: Cannot resolve environment variable: SOME_UNDEFINED_DB.` ,
112+ `"Failed to load config file "/tmp/dir" as a TypeScript/JavaScript module. Error: PrismaConfigEnvError: Cannot resolve environment variable: SOME_UNDEFINED_DB." ` ,
113113 )
114114 }
115115 } )
@@ -120,7 +120,7 @@ describe('[wasm] incomplete-schemas', () => {
120120 await DbPush . new ( ) . parse ( [ ] , await ctx . config ( ) , ctx . configDir ( ) )
121121 } catch ( e ) {
122122 expect ( stripVTControlCharacters ( e . message ) ) . toMatchInlineSnapshot (
123- `"Failed to load config file "/tmp/dir" as a TypeScript/JavaScript module. Error: PrismaConfigEnvError: Cannot resolve environment variable: SOME_UNDEFINED_DB.` ,
123+ `"Failed to load config file "/tmp/dir" as a TypeScript/JavaScript module. Error: PrismaConfigEnvError: Cannot resolve environment variable: SOME_UNDEFINED_DB." ` ,
124124 )
125125 }
126126 } )
@@ -131,7 +131,7 @@ describe('[wasm] incomplete-schemas', () => {
131131 await DbPull . new ( ) . parse ( [ ] , await ctx . config ( ) , ctx . configDir ( ) )
132132 } catch ( e ) {
133133 expect ( stripVTControlCharacters ( e . message ) ) . toMatchInlineSnapshot (
134- `"Failed to load config file "/tmp/dir" as a TypeScript/JavaScript module. Error: PrismaConfigEnvError: Cannot resolve environment variable: SOME_UNDEFINED_DB.` ,
134+ `"Failed to load config file "/tmp/dir" as a TypeScript/JavaScript module. Error: PrismaConfigEnvError: Cannot resolve environment variable: SOME_UNDEFINED_DB." ` ,
135135 )
136136 }
137137 } )
@@ -145,7 +145,7 @@ describe('[wasm] incomplete-schemas', () => {
145145 await DbExecute . new ( ) . parse ( [ '--file=./script.sql' ] , config , ctx . configDir ( ) )
146146 } catch ( e ) {
147147 expect ( stripVTControlCharacters ( e . message ) ) . toMatchInlineSnapshot (
148- `"Failed to load config file "/tmp/dir" as a TypeScript/JavaScript module. Error: PrismaConfigEnvError: Cannot resolve environment variable: SOME_UNDEFINED_DB.` ,
148+ `"Failed to load config file "/tmp/dir" as a TypeScript/JavaScript module. Error: PrismaConfigEnvError: Cannot resolve environment variable: SOME_UNDEFINED_DB." ` ,
149149 )
150150 }
151151 } )
@@ -156,7 +156,7 @@ describe('[wasm] incomplete-schemas', () => {
156156 await MigrateReset . new ( ) . parse ( [ ] , await ctx . config ( ) , ctx . configDir ( ) )
157157 } catch ( e ) {
158158 expect ( stripVTControlCharacters ( e . message ) ) . toMatchInlineSnapshot (
159- `"Failed to load config file "/tmp/dir" as a TypeScript/JavaScript module. Error: PrismaConfigEnvError: Cannot resolve environment variable: SOME_UNDEFINED_DB.` ,
159+ `"Failed to load config file "/tmp/dir" as a TypeScript/JavaScript module. Error: PrismaConfigEnvError: Cannot resolve environment variable: SOME_UNDEFINED_DB." ` ,
160160 )
161161 }
162162 } )
@@ -167,7 +167,7 @@ describe('[wasm] incomplete-schemas', () => {
167167 await MigrateDev . new ( ) . parse ( [ ] , await ctx . config ( ) , ctx . configDir ( ) )
168168 } catch ( e ) {
169169 expect ( stripVTControlCharacters ( e . message ) ) . toMatchInlineSnapshot (
170- `"Failed to load config file "/tmp/dir" as a TypeScript/JavaScript module. Error: PrismaConfigEnvError: Cannot resolve environment variable: SOME_UNDEFINED_DB.` ,
170+ `"Failed to load config file "/tmp/dir" as a TypeScript/JavaScript module. Error: PrismaConfigEnvError: Cannot resolve environment variable: SOME_UNDEFINED_DB." ` ,
171171 )
172172 }
173173 } )
@@ -178,7 +178,7 @@ describe('[wasm] incomplete-schemas', () => {
178178 await Validate . new ( ) . parse ( [ ] , await ctx . config ( ) )
179179 } catch ( e ) {
180180 expect ( stripVTControlCharacters ( e . message ) ) . toMatchInlineSnapshot (
181- `"Failed to load config file "/tmp/dir" as a TypeScript/JavaScript module. Error: PrismaConfigEnvError: Cannot resolve environment variable: SOME_UNDEFINED_DB.` ,
181+ `"Failed to load config file "/tmp/dir" as a TypeScript/JavaScript module. Error: PrismaConfigEnvError: Cannot resolve environment variable: SOME_UNDEFINED_DB." ` ,
182182 )
183183 }
184184 } )
@@ -190,7 +190,7 @@ describe('[wasm] incomplete-schemas', () => {
190190 await Format . new ( ) . parse ( [ ] , await ctx . config ( ) )
191191 } catch ( e ) {
192192 expect ( stripVTControlCharacters ( e . message ) ) . toMatchInlineSnapshot (
193- `"Failed to load config file "/tmp/dir" as a TypeScript/JavaScript module. Error: PrismaConfigEnvError: Cannot resolve environment variable: SOME_UNDEFINED_DB.` ,
193+ `"Failed to load config file "/tmp/dir" as a TypeScript/JavaScript module. Error: PrismaConfigEnvError: Cannot resolve environment variable: SOME_UNDEFINED_DB." ` ,
194194 )
195195 }
196196 } )
0 commit comments