From d36148000a57a30626d444a4034c7524eed3bf71 Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Sat, 10 Feb 2018 12:09:58 -0500 Subject: [PATCH] move "tests" to "test" for QUnit --- app/www/test/index.html | 16 ++++++++++++++++ app/www/test/tests.js | 3 +++ test/index.js | 5 +++++ tests/index.js | 8 -------- 4 files changed, 24 insertions(+), 8 deletions(-) create mode 100644 app/www/test/index.html create mode 100644 app/www/test/tests.js create mode 100644 test/index.js delete mode 100644 tests/index.js diff --git a/app/www/test/index.html b/app/www/test/index.html new file mode 100644 index 0000000..787c67f --- /dev/null +++ b/app/www/test/index.html @@ -0,0 +1,16 @@ + + + + + + INTVAL3 client tests + + + +
+
+ + + + + \ No newline at end of file diff --git a/app/www/test/tests.js b/app/www/test/tests.js new file mode 100644 index 0000000..feed35c --- /dev/null +++ b/app/www/test/tests.js @@ -0,0 +1,3 @@ +QUnit.test('hello world', function (assert) { + assert.ok(true, 'this is ok') +}) \ No newline at end of file diff --git a/test/index.js b/test/index.js new file mode 100644 index 0000000..b76f080 --- /dev/null +++ b/test/index.js @@ -0,0 +1,5 @@ +'use strict' + +QUnit.test('hello world', function (assert) { + assert.ok(true, 'this is true') +}) \ No newline at end of file diff --git a/tests/index.js b/tests/index.js deleted file mode 100644 index 7f8e889..0000000 --- a/tests/index.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict' - -const intval = require('../lib/intval') - -intval.init() - -intval.setExposure(2000) -intval.setDir(false) \ No newline at end of file