mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
Start nodejs test suite to avoid testing non-UI stuff with a real device.
1. Place tests in ./node-tests 2. Add chai, mocha, grunt-simple-mocha dev dependencies 3. Run it all with the grunt node-tests task.
This commit is contained in:
7
node-tests/test-xml.ts
Normal file
7
node-tests/test-xml.ts
Normal file
@ -0,0 +1,7 @@
|
||||
import {assert} from "chai";
|
||||
|
||||
describe("test", () => {
|
||||
it("dummy", () => {
|
||||
assert.equal(1, 2);
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user