File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 11import { StrictMode } from "react"
22import { createRoot } from "react-dom/client"
3- import { BrowserRouter } from "react-router"
3+ import { HashRouter as Router } from "react-router"
44import App from "./App.tsx"
55
66createRoot ( document . getElementById ( "root" ) ! ) . render (
77 < StrictMode >
8- < BrowserRouter >
8+ < Router >
99 < App />
10- </ BrowserRouter >
10+ </ Router >
1111 </ StrictMode > ,
1212)
Original file line number Diff line number Diff line change 11import { join } from "path"
22import { test , expect } from "@playwright/test"
33; [
4- { path : "" , title : / V i e w e r / } ,
5- { path : "welcome" , title : / W e l c o m e / } ,
6- { path : "about" , title : / A b o u t / } ,
7- { path : "upload" , title : / U p l o a d / } ,
8- { path : "demos/Fibonacci" , title : / F i b o n a c c i / } ,
4+ { path : "# " , title : / V i e w e r / } ,
5+ { path : "# welcome" , title : / W e l c o m e / } ,
6+ { path : "# about" , title : / A b o u t / } ,
7+ { path : "# upload" , title : / U p l o a d / } ,
8+ { path : "# demos/Fibonacci" , title : / F i b o n a c c i / } ,
99] . forEach ( ( { path, title } ) =>
1010 test ( `${ path } has title ${ title } ` , async ( { page } ) => {
1111 await page . goto ( join ( "http://localhost:1420" , path ) )
You can’t perform that action at this time.
0 commit comments