Skip to content
This repository was archived by the owner on Mar 17, 2026. It is now read-only.

Commit ea0249f

Browse files
committed
improve testing of supported fee tokens. Update ccip-js README test instructions
1 parent 3a9d856 commit ea0249f

2 files changed

Lines changed: 55 additions & 52 deletions

File tree

packages/ccip-js/README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -605,16 +605,13 @@ folder. From there, the relevant ABI arrays must be manually moved to `./src/abi
605605

606606
#### Running tests
607607

608-
1. cd into `packages/ccip-js` and then run `pnpm install` OR from the project root you can run `pnpm i -w`
608+
1. Integration tests against testnets are favored in the ccip-js package.
609609

610-
2. open a new terminal window and run `foundryup` followed by `anvil` - requires that you've [installed Foundry Anvil](https://book.getfoundry.sh/anvil/).
611-
<b?>Note:</b> that Anvil is only needed for the integrations tests inside `./test` which uses the [Chainlink Local](https://github.com/smartcontractkit/chainlink-local) simulator. Actual testnet and mainnet behavior may differ from time to time and passing these tests does not guarantee testnet or mainnet behavior.
610+
2. Start by cd into `packages/ccip-js` and then run `pnpm install` OR from the project root you can run `pnpm i -w`
612611

613-
3. Back in the first terminal, inside, `packages/ccip-js` run `export PRIVATE_KEY=xxxxxx` to set your private key and then run `pnpm t:int` or `pnpm t:uint`.
612+
3. Back in the first terminal, inside, `packages/ccip-js` run `export PRIVATE_KEY=0x.....` to set your private key and then run `pnpm t:int`. If you're in the entire repo's root you can run the workspace filtering command `pnpm test-ccip-js`
614613

615-
Note some tests are flaky - this is under investigation. You can choose to run just the mocked test or the testnet integration tests using `pnpm jest <<name of test file>>`.
616-
617-
Note further that we have set a 180000ms (3 mins) timeout on the jest config. This can cause the testnet integration test to "hang" for the entire duration.
614+
Note further that we have set a 180000ms (3 mins) timeout on the jest config. This can cause the testnet integration test to appear to "hang"until timeout completes.
618615

619616
### Contributing
620617

0 commit comments

Comments
 (0)