How to use the power-assert.notStrictEqual function in power-assert

To help you get started, we’ve selected a few power-assert examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github alibaba-fusion / next / test / badge / index-spec.js View on Github external
it('should show zero when count is even zero by setting showZero', () => {
        const wrapper = render();
        assert.notStrictEqual(wrapper.find('.next-badge-count'), null);
        assert(wrapper.find('.next-badge-count').hasClass('next-badge-scroll-number'));
    })
});