1
0
mirror of https://github.com/bigchaindb/js-bigchaindb-driver.git synced 2024-11-25 11:28:37 +01:00
js-bigchaindb-driver/.babelrc
Arjun Nemani 48f7584374 Fix connection test
This commit fixes the "Payload thrown at incorrect API_PATH"
test, it uses the proper way to check async error throws,
taken from ava.js docs. Done with the aim to increase the
coverage and to ensure working tests. Added "transform-runtime"
to .babelrc to enable "await/async" syntax".

Part of https://github.com/bigchaindb/js-bigchaindb-driver/issues/220
2018-07-19 20:23:12 +05:30

12 lines
276 B
Plaintext

{
"presets": [
"env"
],
"plugins": [
"transform-export-extensions",
"transform-object-assign",
"transform-object-rest-spread",
["transform-runtime", { "polyfill": false, "regenerator": true }]
],
"sourceMaps": true
}