aboutsummaryrefslogtreecommitdiff
path: root/web/tests/index.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-15 18:33:18 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-15 18:33:18 +1300
commit122a9537ceede0474217e6af01838fa5592c776d (patch)
treee3e9b583a35ee4ddb7c9450d4631582a0bfa2c68 /web/tests/index.js
parent98aeb9261b37dc174c37236292cb2d726937c3d5 (diff)
downloadtrackermap-server-122a9537ceede0474217e6af01838fa5592c776d.tar.gz
trackermap-server-122a9537ceede0474217e6af01838fa5592c776d.tar.bz2
trackermap-server-122a9537ceede0474217e6af01838fa5592c776d.zip
Update siesta sanity unit test
Diffstat (limited to 'web/tests/index.js')
-rw-r--r--web/tests/index.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/tests/index.js b/web/tests/index.js
index a75d6e4df..8e502c269 100644
--- a/web/tests/index.js
+++ b/web/tests/index.js
@@ -1,6 +1,6 @@
-var Harness = Siesta.Harness.Browser.ExtJS;
+var harness = new Siesta.Harness.Browser.ExtJS();
-Harness.configure({
+harness.configure({
title: 'Traccar Test Suite',
preload: [
'//cdnjs.cloudflare.com/ajax/libs/extjs/6.0.0/ext-all.js',
@@ -9,6 +9,6 @@ Harness.configure({
]
});
-Harness.start(
+harness.start(
'tests/010_sanity.t.js'
);