aboutsummaryrefslogtreecommitdiff
path: root/web/tests/010_sanity.t.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-09-23 22:23:58 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-09-23 22:23:58 +1200
commitb53bd6df11a8df1d867409b51adc14421ad97517 (patch)
treebad71eaa9dca6a62247f9c73572e474ae888df86 /web/tests/010_sanity.t.js
parent6e2387149e8758a6ea0c0788c0f70287ac8a36f1 (diff)
downloadtrackermap-server-b53bd6df11a8df1d867409b51adc14421ad97517.tar.gz
trackermap-server-b53bd6df11a8df1d867409b51adc14421ad97517.tar.bz2
trackermap-server-b53bd6df11a8df1d867409b51adc14421ad97517.zip
Implement first web unit test
Diffstat (limited to 'web/tests/010_sanity.t.js')
-rw-r--r--web/tests/010_sanity.t.js15
1 files changed, 8 insertions, 7 deletions
diff --git a/web/tests/010_sanity.t.js b/web/tests/010_sanity.t.js
index 9d5636493..a51decd9b 100644
--- a/web/tests/010_sanity.t.js
+++ b/web/tests/010_sanity.t.js
@@ -1,13 +1,14 @@
-// also supports: startTest(function(t) {
StartTest(function(t) {
t.diag("Sanity");
- t.ok(Ext, 'ExtJS is here');
- t.ok(Ext.Window, '.. indeed');
+ t.ok(Ext, 'Ext is defined');
+ t.ok(Ext.Window, 'Ext.Window is defined');
+ t.ok(Traccar, 'Traccar is defined');
+ t.ok(Traccar.Application, 'Traccar.Application is defined');
- t.ok(Your.Project, 'My project is here');
- t.ok(Your.Project.Util, '.. indeed');
+ t.ok(strings, 'strings are defined');
+ t.ok(styles, 'styles are defined');
- t.done(); // Optional, marks the correct exit point from the test
-})
+ t.done();
+});