Skip to content

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
solidsnakedev committed Dec 16, 2024
1 parent 9e8cfc6 commit a406b38
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/utils/test/apply-param.test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Constr } from "@lucid-evolution/plutus";
import { applyParamsToScript, validatorToScriptHash } from "../src/scripts";
import { applyParamsToScript, validatorToScriptHash } from "../src/scripts.js";
import { assert, test } from "vitest";
import { WithdrawalValidator } from "@lucid-evolution/core-types";
import { applyDoubleCborEncoding } from "../src/cbor";
import { applyDoubleCborEncoding } from "../src/cbor.js";

// Parametrized Contract Spec
// type Redeemer {
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/test/assets.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { assert, test } from "vitest";
import { assetsToValue, sortCanonical } from "../src/value";
import { assetsToValue, sortCanonical } from "../src/value.js";

const unsortedAssets = {
b7cafbba7e8d5dde2557c07254cd0e296bb581e72917a5179b4a00b04275726e61626c65546f6b656e:
Expand Down
7 changes: 5 additions & 2 deletions packages/utils/test/cbor.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import { applyDoubleCborEncoding, applySingleCborEncoding } from "../src/cbor";
import { assert, expect, test } from "vitest";
import {
applyDoubleCborEncoding,
applySingleCborEncoding,
} from "../src/cbor.js";
import { assert, test } from "vitest";

const helloFlat =
"01000032323232323223223225333006323253330083371e6eb8c008c028dd5002a4410d48656c6c6f2c20576f726c642100100114a06644646600200200644a66601c00229404c94ccc030cdc79bae301000200414a226600600600260200026eb0c02cc030c030c030c030c030c030c030c030c024dd5180098049baa002375c600260126ea80188c02c0045261365653330043370e900018029baa001132325333009300b002149858dd7180480098031baa0011653330023370e900018019baa0011323253330073009002149858dd7180380098021baa001165734aae7555cf2ab9f5742ae881";
Expand Down

0 comments on commit a406b38

Please sign in to comment.