Skip to content

feat: support waffle js test #14

feat: support waffle js test

feat: support waffle js test #14

Triggered via pull request September 25, 2024 10:15
Status Failure
Total duration 56s
Artifacts

test.yml

on: pull_request
TypeScript Type-Check
10s
TypeScript Type-Check
NPM Unit Tests
8s
NPM Unit Tests
Forge tests w/storage emulation
10s
Forge tests w/storage emulation
Forge tests w/RPC mock server
17s
Forge tests w/RPC mock server
Fit to window
Zoom out
Zoom in

Annotations

10 errors
TypeScript Type-Check: test-e2e/waffle/test/samplecontract.test.mjs#L2
Cannot find module 'dotenv' or its corresponding type declarations.
TypeScript Type-Check: test-e2e/waffle/test/samplecontract.test.mjs#L3
'"ethers"' has no exported member named 'providers'. Did you mean 'Provider'?
TypeScript Type-Check: test-e2e/waffle/test/samplecontract.test.mjs#L4
Cannot find module 'ethereum-waffle' or its corresponding type declarations.
TypeScript Type-Check: test-e2e/waffle/test/samplecontract.test.mjs#L5
Cannot find module '../build/IERC20.json' or its corresponding type declarations.
TypeScript Type-Check: test-e2e/waffle/test/samplecontract.test.mjs#L5
Import assertions are only supported when the '--module' option is set to 'esnext', 'nodenext', or 'preserve'.
TypeScript Type-Check: test-e2e/waffle/test/samplecontract.test.mjs#L10
Property 'ERC20_TOKEN_ADDRESS' comes from an index signature, so it must be accessed with ['ERC20_TOKEN_ADDRESS'].
TypeScript Type-Check: test-e2e/waffle/test/samplecontract.test.mjs#L33
Property 'RELAY_ENDPOINT' comes from an index signature, so it must be accessed with ['RELAY_ENDPOINT'].
TypeScript Type-Check: test-e2e/waffle/test/samplecontract.test.mjs#L35
Argument of type 'string | undefined' is not assignable to parameter of type 'string | SigningKey'.
TypeScript Type-Check: test-e2e/waffle/test/samplecontract.test.mjs#L35
Property 'OPERATOR_PRIVATE_KEY' comes from an index signature, so it must be accessed with ['OPERATOR_PRIVATE_KEY'].
TypeScript Type-Check: test-e2e/waffle/test/samplecontract.test.mjs#L41
Property 'getContract' does not exist on type 'typeof ContractFactory'.