-
dpapad authored
The latest version makes it possible to import chai.js with a JS module "import" statement. Also: - Fixing a few occurrences where the latest version would throw errors, as it seems stricter into what can be passed into the assert methods. For example passing a string to chai.assert.isAbove() now throws an error. - Making a small local modification depicted in chromium.patch, necessary to run chai.js in d8, which does not gave a window or global object. Bug: 1133198 Change-Id: I1a1503b3503b0f0dc54d537107714421f1865f6c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2498054Reviewed-by:
John Lee <johntlee@chromium.org> Commit-Queue: dpapad <dpapad@chromium.org> Cr-Commit-Position: refs/heads/master@{#820886}
4f382c70