Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ZumZoom committed Jan 16, 2024
1 parent 2d34aa0 commit 74f8c2a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@1inch/solidity-utils",
"version": "3.7.0",
"version": "3.7.1",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"exports": {
Expand Down
5 changes: 1 addition & 4 deletions src/expect.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import { Assertion, AssertionError, assert, expect, config, should, use } from 'chai';
import { jestSnapshotPlugin } from 'mocha-chai-jest-snapshot';

use(jestSnapshotPlugin());
import { Assertion, AssertionError, assert, expect, config, should } from 'chai';

export function assertRoughlyEqualValues(
expected: string | number | bigint,
Expand Down
3 changes: 3 additions & 0 deletions test/contracts/BytesMemory.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ import { expect } from '../../src/expect';
import { trim0x } from '../../src/permit';
import { loadFixture } from '@nomicfoundation/hardhat-network-helpers';
import hre, { ethers } from 'hardhat';
import chai from 'chai';
import { jestSnapshotPlugin } from 'mocha-chai-jest-snapshot';
chai.use(jestSnapshotPlugin());

describe('BytesMemoryMock', function () {
const bytes = '0x000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f';
Expand Down
3 changes: 3 additions & 0 deletions test/contracts/StringUtil.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ import { expect } from '../../src/expect';
import { loadFixture } from '@nomicfoundation/hardhat-network-helpers';
import { BigNumberish, BytesLike } from 'ethers';
import hre, { ethers } from 'hardhat';
import chai from 'chai';
import { jestSnapshotPlugin } from 'mocha-chai-jest-snapshot';
chai.use(jestSnapshotPlugin());

describe('StringUtil', function () {
const uint256TestValue = '0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF';
Expand Down

0 comments on commit 74f8c2a

Please sign in to comment.