mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 14:56:19 -04:00
Add support for async ops using async/await
This commit is contained in:
parent
07bb095e73
commit
c39622ed1e
5 changed files with 11 additions and 11 deletions
|
@ -40,13 +40,13 @@ import Chef from "../src/core/Chef.js";
|
|||
this.tests.map(function(test, i) {
|
||||
var chef = new Chef();
|
||||
|
||||
return Promise.resolve(chef.bake(
|
||||
return chef.bake(
|
||||
test.input,
|
||||
test.recipeConfig,
|
||||
{},
|
||||
0,
|
||||
false
|
||||
))
|
||||
)
|
||||
.then(function(result) {
|
||||
var ret = {
|
||||
test: test,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue