Skip to content

Latest commit

 

History

History
 
 

integration-tests

@eth-optimism/integration-tests

Setup

Follow installation + build instructions in the primary README. Then, run:

yarn build
yarn test:integration

Running tests

Testing a live network

Create an .env file and fill it out. Look at .env.example to know which variables to include.

Once you have your environment set up, run:

yarn test:integration:live

You can also set environment variables on the command line instead of inside .env if you want:

L1_URL=whatever L2_URL=whatever yarn test:integration:live

Note that this can take an extremely long time (~1hr).