Skip to content

Commit

Permalink
fix: tiny fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dprof-in-tech committed Oct 26, 2024
1 parent 88fdfbb commit be4898d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/test/utils/transaction.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
handleTransaction,
} from "../../src/utils/transaction";
import axios from "axios";
import { mockBackendUrl } from "../constants";

jest.mock("get-starknet");
jest.mock("axios");
Expand Down Expand Up @@ -45,7 +46,7 @@ describe("Transaction Functions", () => {

connect.mockResolvedValue(mockStarknet);

process.env.REACT_APP_BACKEND_URL = "http://0.0.0.0:8000";
process.env.REACT_APP_BACKEND_URL = mockBackendUrl;
});

afterEach(() => {
Expand Down

0 comments on commit be4898d

Please sign in to comment.