2
0
mirror of https://github.com/gchq/CyberChef synced 2025-12-15 15:53:30 +00:00

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

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

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.");