Skip to content

Commit a48933b

Browse files
committed
feat: remove npm cache, adapt tests
1 parent 0799fbf commit a48933b

File tree

4 files changed

+4
-9
lines changed

4 files changed

+4
-9
lines changed

.github/workflows/node.js.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@ jobs:
2020
uses: actions/setup-node@v2
2121
with:
2222
node-version: ${{ matrix.node-version }}
23-
- uses: actions/cache@v2
24-
with:
25-
path: ~/.npm
26-
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
27-
restore-keys: |
28-
${{ runner.os }}-node-
2923
- name: Install dependencies
3024
run: npm ci
3125
- name: Test

helpers/oracles-helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export const setInitialMarketRatesInRatesOracleByHelper = async (
6868

6969
export const setInitialAssetPricesInOracle = async (
7070
prices: { [key: string]: string },
71-
assetsAddresses: iAssetBase<tEthereumAddress>,
71+
assetsAddresses: { [key: string]: string },
7272
priceOracleInstance: PriceOracle
7373
) => {
7474
for (const [assetSymbol, price] of Object.entries(prices) as [string, string][]) {

test-suites/test-aave/__setup.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ const buildTestEnv = async (deployer: Signer, secondaryWallet: Signer) => {
131131
await waitForTx(
132132
await addressesProvider.setLendingPoolConfiguratorImpl(lendingPoolConfiguratorImpl.address)
133133
);
134+
134135
const lendingPoolConfiguratorProxy = await getLendingPoolConfiguratorProxy(
135136
await addressesProvider.getLendingPoolConfigurator()
136137
);
@@ -213,7 +214,7 @@ const buildTestEnv = async (deployer: Signer, secondaryWallet: Signer) => {
213214
const allAggregatorsAddresses = Object.entries(mockAggregators).reduce(
214215
(accum: { [tokenSymbol: string]: tEthereumAddress }, [tokenSymbol, aggregator]) => ({
215216
...accum,
216-
[tokenSymbol]: aggregator.address,
217+
[tokenSymbol]: aggregator,
217218
}),
218219
{}
219220
);

test-suites/test-amm/__setup.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ const buildTestEnv = async (deployer: Signer, secondaryWallet: Signer) => {
215215
const allAggregatorsAddresses = Object.entries(mockAggregators).reduce(
216216
(accum: { [tokenSymbol: string]: tEthereumAddress }, [tokenSymbol, aggregator]) => ({
217217
...accum,
218-
[tokenSymbol]: aggregator.address,
218+
[tokenSymbol]: aggregator,
219219
}),
220220
{}
221221
);

0 commit comments

Comments
 (0)