aboutsummaryrefslogtreecommitdiff
path: root/web/tests/010_sanity.t.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-09-23 19:46:51 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-09-23 19:46:51 +1200
commit0141fdc9cd2d9074759aacbeca3136667c3cdf07 (patch)
treee6e01348ab59ea5730167fe437ab95dff526f3a9 /web/tests/010_sanity.t.js
parente25504de36d1303cf5029267678240ac83fb72a9 (diff)
downloadtrackermap-server-0141fdc9cd2d9074759aacbeca3136667c3cdf07.tar.gz
trackermap-server-0141fdc9cd2d9074759aacbeca3136667c3cdf07.tar.bz2
trackermap-server-0141fdc9cd2d9074759aacbeca3136667c3cdf07.zip
Add JavaScipt testing module
Diffstat (limited to 'web/tests/010_sanity.t.js')
-rw-r--r--web/tests/010_sanity.t.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/web/tests/010_sanity.t.js b/web/tests/010_sanity.t.js
new file mode 100644
index 000000000..9d5636493
--- /dev/null
+++ b/web/tests/010_sanity.t.js
@@ -0,0 +1,13 @@
+// also supports: startTest(function(t) {
+StartTest(function(t) {
+ t.diag("Sanity");
+
+ t.ok(Ext, 'ExtJS is here');
+ t.ok(Ext.Window, '.. indeed');
+
+
+ t.ok(Your.Project, 'My project is here');
+ t.ok(Your.Project.Util, '.. indeed');
+
+ t.done(); // Optional, marks the correct exit point from the test
+})