[backend][nodejs] Add sample test

This commit is contained in:
koeberlue
2021-04-05 19:49:07 +02:00
parent 667e23c227
commit 38ad5fadd0
2 changed files with 10 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
var assert = require('assert');
describe('Array', function () {
describe('#indexOf', function () {
it('should return -1 when the value is not present', function () {
assert.strictEqual([1, 2, 3].indexOf(4), -1);
});
})
})