InCuca/loopback-chai

View on GitHub
src/index.js

Summary

Maintainability
A
0 mins
Test Coverage
import * as properties from './properties';
import * as methods from './methods';
import { addItemsOnAssertion } from './helpers/assertion';

export default function ({ Assertion }) {
  addItemsOnAssertion(properties, Assertion.addProperty.bind(Assertion));
  addItemsOnAssertion(methods, Assertion.addMethod.bind(Assertion));
}