make async node tests actually fail when they fail. Update tests that were failing

This commit is contained in:
d98762625 committed 2019-10-07 17:41:51 +01:00
1 parent 06708949a1
commit 210daf7324
5 files changed
+105 -82

No files matched your search

+1 -1
View File
@@ -47,7 +47,7 @@ class Bzip2Decompress extends Operation {
* @param {Object[]} args
* @returns {string}
*/
run(input, args) {
async run(input, args) {
const [small] = args;
if (input.byteLength <= 0) {
throw new OperationError("Please provide an input.");
+1 -1
View File
@@ -58,7 +58,7 @@ class GeneratePGPKeyPair extends Operation {
* @param {Object[]} args
* @returns {string}
*/
run(input, args) {
async run(input, args) {
const [keyType, keySize] = args[0].split("-"),
password = args[1],
name = args[2],