Skip to content

Commit

Permalink
test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Seeuagaen committed May 19, 2024
1 parent 8d4b7f3 commit e0bd3b6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// test.js
const assert = require('assert');

// Пример теста
describe('Array', function() {
describe('#indexOf()', function() {
it('должен возвращать -1, если значение не найдено', function() {
assert.equal([1, 2, 3].indexOf(4), -1);
});
});
});

0 comments on commit e0bd3b6

Please sign in to comment.