From 43e4d06fd9717383e479ef5ac2377270d44a8a15 Mon Sep 17 00:00:00 2001 From: Michal Moskal Date: Thu, 21 Jul 2016 16:08:22 +0100 Subject: [PATCH] Add tests (for pxt testdir) --- tests/base/main.ts | 1 + tests/base/pxt.json | 13 +++++++++++++ tests/hello.ts | 1 + 3 files changed, 15 insertions(+) create mode 100644 tests/base/main.ts create mode 100644 tests/base/pxt.json create mode 100644 tests/hello.ts diff --git a/tests/base/main.ts b/tests/base/main.ts new file mode 100644 index 00000000..94cbb82d --- /dev/null +++ b/tests/base/main.ts @@ -0,0 +1 @@ +// empty - not testing anything here diff --git a/tests/base/pxt.json b/tests/base/pxt.json new file mode 100644 index 00000000..db9ff13a --- /dev/null +++ b/tests/base/pxt.json @@ -0,0 +1,13 @@ +{ + "name": "base-test", + "description": "Base package for tests", + "files": [ + "main.ts" + ], + "public": true, + "dependencies": { + "microbit": "*", + "microbit-radio": "*" + }, + "installedVersion": "file:." +} diff --git a/tests/hello.ts b/tests/hello.ts new file mode 100644 index 00000000..522e9d88 --- /dev/null +++ b/tests/hello.ts @@ -0,0 +1 @@ +basic.showString("Hello world!")