ethereum: partially fix npm run test

This commit is contained in:
Leo 2020-08-16 01:47:10 +02:00
parent 4d1610d9f0
commit 1094c2cadb
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ For each test run:
Run `npx ganache-cli --deterministic --time "1970-01-01T00:00:00+00:00"` to start a chain.
Run the tests using `npm test`
Run the tests using `npm run test`
### User methods

View File

@ -16,7 +16,7 @@
},
"scripts": {
"build": "truffle compile",
"test": "cp node_modules/@openzeppelin/contracts/build/contracts/* build/contracts/ && truffle test"
"test": "mkdir -p build/contracts && cp node_modules/@openzeppelin/contracts/build/contracts/* build/contracts/ && truffle test"
},
"author": "",
"license": "ISC",