Skip to content

Commit

Permalink
[ci] fix tests with node 18
Browse files Browse the repository at this point in the history
  • Loading branch information
kLabz committed Oct 14, 2023
1 parent b3653a5 commit fa5781e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ jobs:
haxelib git tink_hxx [email protected]:kLabz/tink_hxx.git
haxelib git tink_anon [email protected]:haxetink/tink_anon.git
# - name: Run tests
# run: |
# haxelib run munit test -js
- name: Run tests
run: |
haxelib run munit test -js
- name: "[Samples] SSR sample : react-next docs website"
run: |
Expand Down
6 changes: 4 additions & 2 deletions test/src/TestMain.hx
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@ class TestMain
var suites = new Array<Class<massive.munit.TestSuite>>();
suites.push(TestSuite);

var host = "http://127.0.0.1:2000/";

#if MCOVER
var client = new mcover.coverage.munit.client.MCoverPrintClient();
var httpClient = new HTTPClient(new mcover.coverage.munit.client.MCoverSummaryReportClient());
var httpClient = new HTTPClient(new mcover.coverage.munit.client.MCoverSummaryReportClient(), host);
#else
var client = new RichPrintClient();
var httpClient = new HTTPClient(new SummaryReportClient());
var httpClient = new HTTPClient(new SummaryReportClient(), host);
#end

var runner:TestRunner = new TestRunner(client);
Expand Down

0 comments on commit fa5781e

Please sign in to comment.