File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ export function xaxis_type_for(
4040 NUMERIC_X_CHART_TYPES . includes ( chart_type )
4141 )
4242 return "numeric" ;
43+ return undefined ;
4344}
4445
4546/**
Original file line number Diff line number Diff line change 11import path from "node:path" ;
22import { test as base , expect } from "@playwright/test" ;
33
4- const fixturesDirectory = path . resolve ( __dirname , "fixtures" ) ;
4+ const fixturesDirectory = path . resolve ( import . meta . dirname , "fixtures" ) ;
55
66export const test = base . extend ( {
77 page : async ( { page } , use , testInfo ) => {
Original file line number Diff line number Diff line change 1- import { expect , test } from "../../fixture" ;
1+ import { expect , test } from "../../fixture.ts " ;
22
33for ( const theme of [ "light" , "dark" ] ) {
44 test ( `colored values match their cards in the ${ theme } theme` , async ( {
Original file line number Diff line number Diff line change 1- import { expect , type Page , test } from "../../fixture" ;
1+ import { expect , type Page , test } from "../../fixture.ts " ;
22
33type ChartPoint = { x : string | number | Date ; y : number | null } ;
44
Original file line number Diff line number Diff line change 1- import { expect , test } from "../../fixture" ;
1+ import { expect , test } from "../../fixture.ts " ;
22
33const fields = [
44 { selector : 'input[name="modern_text"]' , name : "text" } ,
Original file line number Diff line number Diff line change 1- import { expect , type Page , test } from "../../fixture" ;
1+ import { expect , type Page , test } from "../../fixture.ts " ;
22
33const PARIS_WITHOUT_ITS_LONGITUDE = "48.85," ;
44const NOT_COORDINATES = "somewhere nice" ;
Original file line number Diff line number Diff line change 11{
22 "name" : " end-to-end" ,
33 "version" : " 1.0.0" ,
4+ "type" : " module" ,
45 "description" : " " ,
56 "main" : " index.js" ,
67 "scripts" : {
Original file line number Diff line number Diff line change 66 "moduleResolution" : " bundler" ,
77 "noEmit" : true ,
88 "allowImportingTsExtensions" : true ,
9+ "erasableSyntaxOnly" : true ,
10+ "isolatedModules" : true ,
11+ "verbatimModuleSyntax" : true ,
912 "strict" : true ,
13+ "noImplicitOverride" : true ,
14+ "noFallthroughCasesInSwitch" : true ,
15+ "noUnusedLocals" : true ,
16+ "noUnusedParameters" : true ,
17+ "allowUnreachableCode" : false ,
18+ "allowUnusedLabels" : false ,
1019 "noImplicitAny" : false ,
11- "types" : []
20+ "types" : [],
21+ "noImplicitReturns" : true
1222 },
1323 "include" : [" frontend/src" ]
1424}
You can’t perform that action at this time.
0 commit comments