MCPcopy
hub / github.com/sequelize/sequelize / assertMatchesExpectation

Function assertMatchesExpectation

test/support.js:379–385  ·  view source on GitHub ↗
(result, expectation)

Source from the content-addressed store, hash-verified

377}
378
379function assertMatchesExpectation(result, expectation) {
380 if (expectation instanceof Expectation) {
381 expectation.assert(result);
382 } else {
383 expect(result).to.deep.equal(expectation);
384 }
385}
386
387class Expectation {
388 assert(value) {}

Callers 2

expectPerDialectFunction · 0.85
assertMethod · 0.85

Calls 1

assertMethod · 0.45

Tested by

no test coverage detected