Add fixed format scenario test

This commit is contained in:
David Racero 2021-01-28 09:51:52 +01:00
parent da0b13757a
commit 80cfc7d0fe
2 changed files with 2 additions and 3 deletions

View File

@ -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",

View File

@ -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 });