Skip to content

Commit

Permalink
fix tests for modern nodejs
Browse files Browse the repository at this point in the history
  • Loading branch information
Akiyamka committed Oct 20, 2024
1 parent cd92ac6 commit 1b39d4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test-server.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import http from 'node:http'
import constants from './constants.json' assert { type: 'json' };
import constants from './constants.json' with { type: 'json' };

const server = http.createServer((req, res) => {
res.setHeader('Access-Control-Allow-Origin', `http://${constants.TEST_SRV_HOST}`)
Expand Down

0 comments on commit 1b39d4b

Please sign in to comment.