wx-compiler/test/demo.test.js
2022-08-28 22:11:13 +08:00

8 lines
234 B
JavaScript

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