Skip to content

Commit 20c1c6c

Browse files
committed
Fixes types in tests
1 parent bef414e commit 20c1c6c

File tree

4 files changed

+63
-34
lines changed

4 files changed

+63
-34
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"@typescript-eslint/parser": "^7.18.0",
5050
"chai": "^4.5.0",
5151
"eslint": "8.57.1",
52-
"ethers": "^6.14.0",
52+
"ethers": "^6.13.2",
5353
"glob": "^11.0.2",
5454
"hardhat": "^2.24.0",
5555
"hardhat-deploy": "^1.0.2",

pnpm-lock.yaml

Lines changed: 58 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/adapters/ScaledApi3FeedProxyV1.sol.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ describe('ScaledApi3FeedProxyV1', function () {
1010
const roleNames = ['deployer', 'manager', 'airnode', 'auctioneer', 'searcher'];
1111
const accounts = await ethers.getSigners();
1212
const roles: Record<string, HardhatEthersSigner> = roleNames.reduce((acc, roleName, index) => {
13-
return { ...acc, [roleName]: accounts[index] };
13+
return { ...acc, [roleName]: accounts[index]! };
1414
}, {});
1515

1616
const accessControlRegistryFactory = await ethers.getContractFactory('AccessControlRegistry', roles.deployer);

tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@
3434
"./scripts/**/*",
3535
"./src/**/*",
3636
"./test/**/*",
37+
"./typechain-types/**/*",
3738
".eslintrc.js",
3839
".solcover.js",
39-
"hardhat*.config.ts"
40+
"hardhat.build.config.ts",
41+
"hardhat.config.ts"
4042
]
4143
}

0 commit comments

Comments
 (0)