How to use the assert-helpers.errorEqual function in assert-helpers

To help you get started, we’ve selected a few assert-helpers 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 bevry / kava / source / examples / standard.js View on Github external
this.done(function(err, result) {
				assert.errorEqual(err, null)
				assert.deepEqual(result, [[err1], [err2]])
			})
		})
github bevry / kava / source / examples / example1.js View on Github external
this.done(function (err, result) {
				errorEqual(err, null)
				deepEqual(result, [[err1], [err2]])
			})
		})

assert-helpers

Common utilities and helpers to make testing assertions easier

Artistic-2.0
Latest version published 12 months ago

Package Health Score

61 / 100
Full package analysis