Shortcuts
The main purpose of this release was to add shortcuts its
and it
without a message. This allows to write subject specific tests easier.
Features
- interface: adds support for
its
- interface: adds support for
it
without a message
describe('Array', () => {
subject(() => [1, 2, 3])
its('length', () => is.expected.to.equal(3))
it(() => is.expected.to.be.an('array'))
})