How to use the notDeepEqual function from should

Find comprehensive JavaScript should.notDeepEqual code examples handpicked from public code repositorys.

67
68
69
70
71
72
73
74
75
76
  };
    
  const results = await Promise.all([cached(), notCached()]);
    
  should.equal(configObject.result.key5,'newvalue');
  should.notDeepEqual(results[0], configObject);
  should.deepEqual(results[1], configObject);
});

it('should get error for not found url', function (done) {
fork icon1
star icon3
watch icon0

169
170
171
172
173
174
175
176
177
178
179


      const results = await Promise.all([cached(), notCached()]);
        
        
      should.equal(remoteObjectValue.result.key5, 'newvalue');
      should.notDeepEqual(results[0], remoteObjectValue);
      should.deepEqual(results[1], remoteObjectValue);
    });
  });
});
fork icon1
star icon3
watch icon0