UNPKG

unexpected

Version:
21 lines (15 loc) 305 B
--- title: to be non-empty --- Asserts that an array is empty. Aliases: `not to be empty` ```javascript expect([1, 2, 3], 'to be non-empty'); ``` In case of a failing expectation you get the following output: ```javascript expect([], 'to be non-empty'); ``` ```output expected [] to be non-empty ```