2
0
mirror of https://github.com/gchq/CyberChef synced 2026-01-01 08:03:30 +00:00

merge init-dish & update tests

This commit is contained in:
d98762625
2019-04-08 18:06:01 +01:00
2 changed files with 4 additions and 4 deletions

View File

@@ -331,8 +331,8 @@ TestRegister.addApiTests([
it("Composable Dish: Should construct empty dish object", () => {
const dish = new Dish();
assert.deepEqual(dish.value, []);
assert.strictEqual(dish.type, 0);
assert.strictEqual(dish.value.byteLength, new ArrayBuffer(0).byteLength);
assert.strictEqual(dish.type, 4);
}),
it("Composable Dish: constructed dish should have apply prototype functions", () => {