diff --git a/package.json b/package.json index 240f4570..cdabab0e 100644 --- a/package.json +++ b/package.json @@ -114,7 +114,7 @@ }, "husky": { "hooks": { - "pre-commit": "pretty-quick --pattern 'contracts/**/*.sol' --pattern 'helpers/**/*.ts' --pattern 'test/**/*.ts' --pattern 'tasks/**/*.ts'" + "pre-commit": "pretty-quick --staged --pattern 'contracts/**/*.sol' --pattern 'helpers/**/*.ts' --pattern 'test/**/*.ts' --pattern 'tasks/**/*.ts'" } }, "author": "Aave", diff --git a/test/scenario.spec.ts b/test/scenario.spec.ts index 9826a03d..13037cfb 100644 --- a/test/scenario.spec.ts +++ b/test/scenario.spec.ts @@ -18,8 +18,7 @@ fs.readdirSync(scenarioFolder).forEach((file) => { const scenario = require(`./helpers/scenarios/${file}`); makeSuite(scenario.title, async (testEnv) => { - before('Initializing configuration', - async () => { + before('Initializing configuration', async () => { // Sets BigNumber for this suite, instead of globally BigNumber.config({ DECIMAL_PLACES: 0, ROUNDING_MODE: BigNumber.ROUND_DOWN });