Add tests, research findImportsSync

pull/7/head
0mkar 6 years ago
parent cbdc0cb026
commit c8d8931c80
  1. 4
      remix-resolve/package.json
  2. 2
      remix-resolve/src/resolve.js
  3. 76
      remix-resolve/tests/test.js

@ -28,7 +28,11 @@
]
},
"dependencies": {
"async": "^2.6.1",
"axios": "^0.18.0",
"promise": "^8.0.2",
"remix-solidity": "^0.2.14",
"sleep": "^5.2.3",
"solc": "^0.5.0",
"url": "^0.11.0",
"valid-url": "^1.0.9"

@ -17,6 +17,8 @@ const handleGithubCall = async function (fullpath, repoPath, path, filename, fil
} else {
throw Error('Content not received!')
}
}).catch(function (e) {
throw e
})
return data
}

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save