mirror of
https://github.com/bigchaindb/js-bigchaindb-driver.git
synced 2024-11-24 19:10:12 +01:00
48f7584374
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
12 lines
276 B
Plaintext
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
|
|
} |