File tree Expand file tree Collapse file tree
examples/using react and other custom scripts and styles Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,3 +5,4 @@ services:
55 - " 8080:8080"
66 volumes :
77 - .:/var/www
8+ - ./sqlpage:/etc/sqlpage
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ GET http://localhost:8080/
2+ HTTP 200
3+ [Asserts]
4+ body contains "SQLPage with a frontend component"
5+ body contains "Try my react component !"
6+ body contains "style.css"
7+ body contains "funky_text"
8+
9+ GET http://localhost:8080/style.css
10+ HTTP 200
11+ [Asserts]
12+ body contains "#funky_text"
13+ body contains "neon-glow"
14+
15+ GET http://localhost:8080/react.sql
16+ HTTP 200
17+ [Asserts]
18+ body contains "my_react_component.js"
19+ body contains "react_component"
20+ body contains "Dynamic component is loading..."
21+ body contains "World"
22+
23+ GET http://localhost:8080/my_react_component.js
24+ HTTP 200
25+ [Asserts]
26+ body contains "fetch(\"/api.sql\")"
27+ body contains "ReactDOM.createRoot"
You can’t perform that action at this time.
0 commit comments