Files
NativeScript/e2e/appTestTs/app/tests/example.ts
Vasil Chimev d99354cba3 tns init test
2019-11-14 04:48:32 +02:00

10 lines
263 B
TypeScript

// A sample Mocha test
describe('Array', function () {
describe('#indexOf()', function () {
it('should return -1 when the value is not present', function () {
assert.equal(-1, [1, 2, 3].indexOf(5));
assert.equal(-1, [1, 2, 3].indexOf(0));
});
});
});