From f248050cb467eaed8d65428b8808254e26797cc5 Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Thu, 25 Jul 2024 10:26:54 +1000 Subject: chore: use `@std` prefix for internal module specifiers (#24543) This change aims to replace all relative import specifiers targeted at `tests/util/std` with mapped ones (using a `deno.json` file). Towards updating the `std` git submodule. --- ext/websocket/autobahn/autobahn_server.js | 2 +- ext/websocket/autobahn/fuzzingclient.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'ext') diff --git a/ext/websocket/autobahn/autobahn_server.js b/ext/websocket/autobahn/autobahn_server.js index 18b58ab1e..73e32a60f 100644 --- a/ext/websocket/autobahn/autobahn_server.js +++ b/ext/websocket/autobahn/autobahn_server.js @@ -1,5 +1,5 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. -import { parse } from "../../../tests/util/std/flags/mod.ts"; +import { parse } from "@std/flags/mod.ts"; const { port } = parse(Deno.args, { number: ["port"], diff --git a/ext/websocket/autobahn/fuzzingclient.js b/ext/websocket/autobahn/fuzzingclient.js index 9edc7293f..a8cf0c2b7 100644 --- a/ext/websocket/autobahn/fuzzingclient.js +++ b/ext/websocket/autobahn/fuzzingclient.js @@ -11,7 +11,8 @@ const AUTOBAHN_TESTSUITE_DOCKER = "crossbario/autobahn-testsuite:0.8.2@sha256:5d4ba3aa7d6ab2fdbf6606f3f4ecbe4b66f205ce1cbc176d6cdf650157e52242"; const self = Deno.execPath(); -$`${self} run -A --unstable ${pwd}/autobahn_server.js`.spawn(); +$`${self} run -A --unstable --config ${pwd}/../../../tests/config/deno.json ${pwd}/autobahn_server.js` + .spawn(); for (let i = 0; i < 6; i++) { try { -- cgit v1.2.3