Add tests (for pxt testdir)

This commit is contained in:
Michal Moskal 2016-07-21 16:08:22 +01:00
parent 3c8027425a
commit 43e4d06fd9
3 changed files with 15 additions and 0 deletions

1
tests/base/main.ts Normal file
View File

@ -0,0 +1 @@
// empty - not testing anything here

13
tests/base/pxt.json Normal file
View File

@ -0,0 +1,13 @@
{
"name": "base-test",
"description": "Base package for tests",
"files": [
"main.ts"
],
"public": true,
"dependencies": {
"microbit": "*",
"microbit-radio": "*"
},
"installedVersion": "file:."
}

1
tests/hello.ts Normal file
View File

@ -0,0 +1 @@
basic.showString("Hello world!")