Closed lukemelia closed 2 years ago
In a failure scenario, the method variable is being set to undefined and then interpolated as part of the assertion error message: https://github.com/bustle/mobiledoc-kit/blob/master/src/js/models/card-node.js#L24-L28
method
The assert is now outputting:
Card "my-card" must define `render` method
In a failure scenario, the
method
variable is being set to undefined and then interpolated as part of the assertion error message: https://github.com/bustle/mobiledoc-kit/blob/master/src/js/models/card-node.js#L24-L28