PIbd-21_Danilov_V.V._Intern.../Lab3/node_modules/secure-compare/test.js
Владимир Данилов 83490711d5 отчет
2023-12-19 20:23:11 +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);
});
});