Skip to content

Commit 97c7c26

Browse files
feat: add solana test and extract evm test in separate directory
1 parent 5a58038 commit 97c7c26

26 files changed

+135
-7
lines changed

src/internal/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as path from "node:path";
22
import type { Sablier } from "@src/types";
33
import * as fs from "fs-extra";
4-
import { isBroadcastsUnified } from "../../tests/helpers/broadcasts";
4+
import { isBroadcastsUnified } from "../../tests/evm/helpers/broadcasts";
55
import { log } from "./logger";
66

77
const ROOT_DIR = path.join(__dirname, "..", "..");
File renamed without changes.
File renamed without changes.

tests/contracts/abi-const.test.ts renamed to tests/evm/contracts/abi-const.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ describe("Type-level const validation", () => {
106106
test("Sample ABI files have correct const assertions", () => {
107107
// These imports will fail at compile time if ABIs don't have proper 'as const'
108108
type TestAirdropsV14 =
109-
typeof import("../../src/evm/releases/airdrops/v1.3/abi/SablierMerkleInstant").sablierMerkleInstantAbi;
110-
type TestLockupV10 = typeof import("../../src/evm/releases/lockup/v2.0/abi/SablierLockup").sablierLockupAbi;
111-
type TestFlowV10 = typeof import("../../src/evm/releases/flow/v1.1/abi/SablierFlow").sablierFlowAbi;
109+
typeof import("../../../src/evm/releases/airdrops/v1.3/abi/SablierMerkleInstant").sablierMerkleInstantAbi;
110+
type TestLockupV10 = typeof import("../../../src/evm/releases/lockup/v2.0/abi/SablierLockup").sablierLockupAbi;
111+
type TestFlowV10 = typeof import("../../../src/evm/releases/flow/v1.1/abi/SablierFlow").sablierFlowAbi;
112112

113113
// These type assertions will fail if the ABIs aren't const
114114
type _AssertAirdrops = AssertAsConst<TestAirdropsV14>;
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)