Merge pull request #12511 from ethereum/deterministic-test-order-in-trident-ext-test

Deterministic test order in Trident external test
This commit is contained in:
Harikrishnan Mulackal 2022-01-11 12:28:10 +05:30 committed by GitHub
commit a711969983
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ function test_fn {
TS_NODE_TRANSPILE_ONLY=1 npx hardhat test --no-compile $(
# TODO: We need to skip Migration.test.ts because it fails and makes other tests fail too.
# Replace this with `yarn test` once https://github.com/sushiswap/trident/issues/283 is fixed.
find test/ -name "*.test.ts" ! -path "test/Migration.test.ts"
find test/ -name "*.test.ts" ! -path "test/Migration.test.ts" | LC_ALL=C sort
)
}
@ -43,6 +43,7 @@ function trident_test
{
local repo="https://github.com/sushiswap/trident"
local ref_type=commit
# FIXME: Switch back to master branch when https://github.com/sushiswap/trident/issues/303 gets fixed.
local ref="0cab5ae884cc9a41223d52791be775c3a053cb26" # master as of 2021-12-16
local config_file="hardhat.config.ts"
local config_var=config