Skip to content

Commit

Permalink
feat(tests): by products and chains
Browse files Browse the repository at this point in the history
  • Loading branch information
loicttn committed Jan 30, 2025
1 parent 967bc5c commit 98229ae
Show file tree
Hide file tree
Showing 34 changed files with 1,640 additions and 17 deletions.
2 changes: 1 addition & 1 deletion tests/src/batchWithdraw.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { ledgerService } from '@ledgerhq/hw-app-eth';
const contractAddr = '0x1e68238ce926dec62b3fbc99ab06eb1d85ce0270';

const pluginName = 'Kiln';
const abi_path = `../cal/abis/${contractAddr}.json`;
const abi_path = `../cal/ethereum/abis/${contractAddr}.json`;
const abi = require(abi_path);

nano_models.forEach(function (model) {
Expand Down
2 changes: 1 addition & 1 deletion tests/src/batchWithdrawCL.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { ledgerService } from '@ledgerhq/hw-app-eth';
const contractAddr = '0x1e68238ce926dec62b3fbc99ab06eb1d85ce0270';

const pluginName = 'Kiln';
const abi_path = `../cal/abis/${contractAddr}.json`;
const abi_path = `../cal/ethereum/abis/${contractAddr}.json`;
const abi = require(abi_path);

nano_models.forEach(function (model) {
Expand Down
2 changes: 1 addition & 1 deletion tests/src/batchWithdrawEL.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { ledgerService } from '@ledgerhq/hw-app-eth';
const contractAddr = '0x1e68238ce926dec62b3fbc99ab06eb1d85ce0270';

const pluginName = 'Kiln';
const abi_path = `../cal/abis/${contractAddr}.json`;
const abi_path = `../cal/ethereum/abis/${contractAddr}.json`;
const abi = require(abi_path);

nano_models.forEach(function (model) {
Expand Down
2 changes: 1 addition & 1 deletion tests/src/claim.v2.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { ledgerService } from '@ledgerhq/hw-app-eth';
const contractAddr = '0x8d6fd650500f82c7d978a440348e5a9b886943bf';

const pluginName = 'Kiln';
const abi_path = `../cal/abis/${contractAddr}.json`;
const abi_path = `../cal/ethereum/abis/${contractAddr}.json`;
const abi = require(abi_path);

nano_models.forEach(function (model) {
Expand Down
2 changes: 1 addition & 1 deletion tests/src/deposit.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { ledgerService } from '@ledgerhq/hw-app-eth';
const contractAddr = '0x1e68238ce926dec62b3fbc99ab06eb1d85ce0270';

const pluginName = 'Kiln';
const abi_path = `../cal/abis/${contractAddr}.json`;
const abi_path = `../cal/ethereum/abis/${contractAddr}.json`;
const abi = require(abi_path);

nano_models.forEach(function (model) {
Expand Down
Loading

0 comments on commit 98229ae

Please sign in to comment.