diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 0dac541f..f563da61 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - node-version: [16.x] + node-version: [16.15] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: diff --git a/test/config.json b/test/config.json index f129fbf0..2da5edf4 100644 --- a/test/config.json +++ b/test/config.json @@ -36,5 +36,5 @@ } }, "source": "logex", - "backend_url": "https://ideas.science.uu.nl/cgi-bin/ideas-logic.cgi" + "backend_url": "https://ideastest.science.uu.nl/cgi-bin/ideas-logic.cgi" } diff --git a/test/test.js b/test/test.js index 32082d26..7067025d 100644 --- a/test/test.js +++ b/test/test.js @@ -1,6 +1,7 @@ import { describe, it } from 'mocha' import { IdeasServiceProxy } from '../src/js/model/ideasServiceProxy.js' -import { XMLHttpRequest } from 'xhr2' +import pkg from 'xhr2'; +const { XMLHttpRequest } = pkg; import { assert } from 'chai' global.XMLHttpRequest = XMLHttpRequest