File tree Expand file tree Collapse file tree 2 files changed +11
-12
lines changed Expand file tree Collapse file tree 2 files changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -43,17 +43,16 @@ async function setEmptyTestVariationTags_github_243() {
4343
4444 return Promise . all (
4545 testVariations . map ( ( testVariation ) =>
46- prisma . testVariation . update ( {
47- where : { id : testVariation . id } ,
48- data : {
49- os : testVariation . os ?? '' ,
50- device : testVariation . device ?? '' ,
51- browser : testVariation . browser ?? '' ,
52- viewport : testVariation . viewport ?? '' ,
53- } ,
54- } )
46+ prisma . $executeRaw `UPDATE "public"."TestVariation"
47+ SET
48+ "os" = ${ testVariation . os ?? 'NULL::text' } ,
49+ "device" = ${ testVariation . device ?? 'NULL::text' } ,
50+ "browser" = ${ testVariation . browser ?? 'NULL::text' } ,
51+ "viewport" = ${ testVariation . viewport ?? 'NULL::text' }
52+ WHERE
53+ "id" = ${ testVariation . id } `
5554 )
56- ) . then ( ( ) => console . info ( `Finished migration ${ migrationKey } ` ) ) ;
55+ ) . then ( ( ) => console . info ( `Finished migration ${ migrationKey } ` ) )
5756}
5857
5958async function manualMigrations ( ) {
Original file line number Diff line number Diff line change 11import { PNG } from 'pngjs' ;
2- import { IgnoreAreaDto } from 'src /test-runs/dto/ignore-area.dto' ;
3- import { generatePng } from 'src /_data_' ;
2+ import { IgnoreAreaDto } from '../.. /test-runs/dto/ignore-area.dto' ;
3+ import { generatePng } from '../.. /_data_' ;
44import { applyIgnoreAreas } from '.' ;
55
66describe ( 'utils' , ( ) => {
You can’t perform that action at this time.
0 commit comments