Afanasev_Stepan_PIbd-21_IP/ИП 3 лаба/node_modules/secure-compare/test.js
[USERNAME] 0dd26716dc Lab2-5
2024-01-10 16:11:49 +04:00

20 lines
276 B
JavaScript

/**
* Dependencies
*/
var compare = require('./');
require('chai').should();
/**
* Tests
*/
describe ('secure-compare', function () {
it ('compare', function () {
compare('abc', 'abc').should.equal(true);
compare('abc', 'ab').should.equal(false);
});
});