Expose Dish (SyncDish) in API and make it composable.

This commit is contained in:
d98762625 2018-08-23 21:40:45 +01:00
parent f73452e01f
commit f6c4b5073c
6 changed files with 66 additions and 13 deletions

View file

@ -791,7 +791,7 @@ jmPGsv1elXxVzqs58UZLD2c3vBhGkU2BV6kRKh+lj/EcVrzsFhGCz/7DKxPoDHLS
it("Scan for embedded files", () => {
const result = chef.scanForEmbeddedFiles(fs.readFileSync("src/web/static/images/cook_male-32x32.png"));
const expected = "Scanning data for \'magic bytes\' which may indicate embedded files.";
const expected = "Scanning data for 'magic bytes' which may indicate embedded files.";
assert.ok(result.toString().indexOf(expected) === 0);
}),