Skip to content

Commit

Permalink
Remove DefinePlugin dependency from the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
klntsky committed Feb 20, 2024
1 parent 84057b7 commit 2053507
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
2 changes: 0 additions & 2 deletions src/Internal/JsWebSocket.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* global BROWSER_RUNTIME */

import ReconnectingWebSocket from "reconnecting-websocket";
import WebSocket from "isomorphic-ws";

Expand Down
1 change: 0 additions & 1 deletion test/CslGc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global BROWSER_RUNTIME */
import * as lib from "@mlabs-haskell/cardano-serialization-lib-gc";

import process from "process";
Expand Down
10 changes: 1 addition & 9 deletions test/Wallet/Cip30/SignData.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
/* global BROWSER_RUNTIME */

import * as csl from "@mlabs-haskell/cardano-serialization-lib-gc";

let lib;
if (typeof BROWSER_RUNTIME != "undefined" && BROWSER_RUNTIME) {
lib = await import("@emurgo/cardano-message-signing-browser");
} else {
lib = await import("@emurgo/cardano-message-signing-nodejs");
}
import * as lib from "@mlabs-haskell/cardano-message-signing";

function opt_chain(maybe, obj) {
const isNothing = x => x === null || x === undefined;
Expand Down

0 comments on commit 2053507

Please sign in to comment.