Skip to content

Commit

Permalink
Ignore coverage for nucleus contract files
Browse files Browse the repository at this point in the history
  • Loading branch information
9inpachi committed Oct 2, 2024
1 parent 2c7e014 commit 380dab6
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
2 changes: 2 additions & 0 deletions lib/contracts/handlers/nucleus-accountant-handler.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* istanbul ignore file */

import {
WalletClient,
PublicClient,
Expand Down
2 changes: 2 additions & 0 deletions lib/contracts/handlers/nucleus-boring-vault-handler.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* istanbul ignore file */

import {
WalletClient,
PublicClient,
Expand Down
2 changes: 2 additions & 0 deletions lib/contracts/handlers/nucleus-teller-handler.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* istanbul ignore file */

import {
WalletClient,
PublicClient,
Expand Down
10 changes: 5 additions & 5 deletions lib/contracts/handlers/puf-locker-handler.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe('PufTokenHandler', () => {
contractTestingUtils.mockCall('getAllDeposits', [[mockDeposit]]);

const allDeposits = await handler.getAllDeposits(
UnifiToken.pufWETH,
UnifiToken.unifiETH,
mockAccount,
);

Expand All @@ -40,7 +40,7 @@ describe('PufTokenHandler', () => {
contractTestingUtils.mockCall('getDeposits', [[mockDeposit]]);

const allDeposits = await handler.getDeposits(
UnifiToken.pufWETH,
UnifiToken.unifiETH,
mockAccount,
0n,
1n,
Expand All @@ -66,7 +66,7 @@ describe('PufTokenHandler', () => {
.mockReturnValue(Promise.resolve(mockPermitSignature));

const { transact, estimate } = await handler.deposit({
token: UnifiToken.pufWETH,
token: UnifiToken.unifiETH,
account: mockAccount,
recipient: mockAccount,
value: 1n,
Expand All @@ -85,7 +85,7 @@ describe('PufTokenHandler', () => {
.mockReturnValue(Promise.resolve(mockPermitSignature));

const { transact, estimate } = await handler.deposit({
token: UnifiToken.pufWETH,
token: UnifiToken.unifiETH,
account: mockAccount,
recipient: mockAccount,
value: 1n,
Expand All @@ -100,7 +100,7 @@ describe('PufTokenHandler', () => {
contractTestingUtils.mockTransaction('withdraw');

const { transact, estimate } = handler.withdraw(
UnifiToken.pufWETH,
UnifiToken.unifiETH,
mockAccount,
mockAccount,
[0n],
Expand Down

0 comments on commit 380dab6

Please sign in to comment.