wx-compiler/test/spec/demo.spec.ts
2023-07-29 21:36:10 +08:00

8 lines
215 B
TypeScript

import assert from "assert";
import { describe } from "mocha";
describe('Demo', () => {
it('should return -1 when the value is not present', function() {
assert.equal(-1, [1,2,3].indexOf(4));
});
})