Skip to content

Commit b67bebc

Browse files
committed
Use CJS exports
1 parent f4d4dac commit b67bebc

File tree

4 files changed

+35
-76
lines changed

4 files changed

+35
-76
lines changed

package-lock.json

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

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@trusttoken/registry",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"description": "",
55
"directories": {
66
"test": "test"
@@ -15,8 +15,8 @@
1515
"author": "",
1616
"license": "MIT",
1717
"repository": {
18-
"type" : "git",
19-
"url" : "git+https://github.com/trusttoken/registry.git"
18+
"type": "git",
19+
"url": "git+https://github.com/trusttoken/registry.git"
2020
},
2121
"dependencies": {
2222
"openzeppelin-solidity": "2.4.0"

test/helpers/assertBalance.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ async function assertBalance(token, account, value) {
33
assert.equal(balance, value)
44
}
55

6-
export default assertBalance
6+
module.exports = assertBalance

test/helpers/assertRevert.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export default async promise => {
1+
module.exports = async function assertRevert(promise) {
22
try {
33
await promise;
44
assert.fail('Expected revert not received');

0 commit comments

Comments
 (0)