Skip to content

Commit 6d0dc58

Browse files
committed
try restoring browser tests
1 parent b16327c commit 6d0dc58

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
with:
1616
node-version: 22
1717

18-
# - run: npm ci
19-
# - run: npm install http-server -g
20-
# - run: |
21-
# http-server ./ -p 8080 &
22-
# sleep 5 # Wait for 5 seconds to ensure http-server is up
23-
# npm run test:browser
18+
- run: npm ci
19+
- run: npm install http-server -g
20+
- run: |
21+
http-server ./ -p 8080 &
22+
sleep 5 # Wait for 5 seconds to ensure http-server is up
23+
npm run test:browser
2424
2525
package:
2626
needs: test

testrunner.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
if (globalImports[url])
2929
return globalImports[url];
3030
if (url.startsWith("./"))
31-
url = "tests/" + url.substring(2);
31+
url = "test/" + url.substring(2);
3232

3333
url+=/.js$/i.test(url) ? "" : ".js";// to allow loading without js suffix;
3434

0 commit comments

Comments
 (0)