Skip to content

Commit

Permalink
Holy crap, node tests pass???
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaptic committed Sep 15, 2023
1 parent 4a6cdc6 commit 9cb919d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/unit/call_builders_test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import URI from "urijs";

const { CallBuilder } = StellarSdk;
// not exported by the library
import { CallBuilder } from "../../lib/horizon/call_builder";

describe("CallBuilder functions", function () {
it("doesn't mutate the constructor passed url argument (it clones it instead)", function () {
Expand Down
4 changes: 2 additions & 2 deletions test/unit/server/soroban/get_transaction_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const {
xdr,
Keypair,
Account,
Server,
SorobanServer,
TransactionBuilder,
nativeToScVal,
XdrLargeInt,
Expand All @@ -13,7 +13,7 @@ describe("Server#getTransaction", function () {
let account = new StellarSdk.Account(keypair.publicKey(), "56199647068161");

beforeEach(function () {
this.server = new Server(serverUrl);
this.server = new SorobanServer(serverUrl);
this.axiosMock = sinon.mock(SorobanAxiosClient);
let transaction = new TransactionBuilder(account, {
fee: 100,
Expand Down

0 comments on commit 9cb919d

Please sign in to comment.