move "tests" to "test" for QUnit
This commit is contained in:
parent
2217f709da
commit
d36148000a
|
@ -0,0 +1,16 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<title>INTVAL3 client tests</title>
|
||||
<link href="../static/css/qunit-2.5.0.css" rel="stylesheet" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="qunit"></div>
|
||||
<div id="qunit-fixture"></div>
|
||||
<script src="../static/js/qunit-2.5.0.js"></script>
|
||||
<script src="../static/js/intval.core.js"></script>
|
||||
<script src="./tests.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,3 @@
|
|||
QUnit.test('hello world', function (assert) {
|
||||
assert.ok(true, 'this is ok')
|
||||
})
|
|
@ -0,0 +1,5 @@
|
|||
'use strict'
|
||||
|
||||
QUnit.test('hello world', function (assert) {
|
||||
assert.ok(true, 'this is true')
|
||||
})
|
|
@ -1,8 +0,0 @@
|
|||
'use strict'
|
||||
|
||||
const intval = require('../lib/intval')
|
||||
|
||||
intval.init()
|
||||
|
||||
intval.setExposure(2000)
|
||||
intval.setDir(false)
|
Loading…
Reference in New Issue