Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const chai = require("chai");
- const assert = chai.assert;
- chai.config.truncateThreshold = 0;
- describe( "Testing a list", function(){
- it( "Basic list", function(){
- const a = [ "foo", "foo@foo.com", "bar.", "bar@bar.com" ],
- b = [ "bar@bar.com" ];
- assert.deepEqual( searchNames( a ), b,
- `Testing for ${JSON.stringify(a)}`)
- } );
- } );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement