projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fa79a1f
)
check for missing elements
author
Wolfram Schneider
<wosch@indexdata.dk>
Wed, 21 Aug 2013 14:39:54 +0000
(16:39 +0200)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Wed, 21 Aug 2013 14:39:54 +0000
(16:39 +0200)
test/spec/mkws-index-full.spec.js
patch
|
blob
|
history
diff --git
a/test/spec/mkws-index-full.spec.js
b/test/spec/mkws-index-full.spec.js
index
5e86891
..
52b9746
100644
(file)
--- a/
test/spec/mkws-index-full.spec.js
+++ b/
test/spec/mkws-index-full.spec.js
@@
-93,4
+93,11
@@
describe("index-full.html jsdom + jquery", function() {
expect($("#" + tags[i]).length == 1).toEqual(true);
}
});
+
+ it("html jquery fail test", function() {
+ expect(html).toBeDefined();
+
+ expect($("body_does_not_exists").length == 1).toEqual(false);
+ expect($("#body_does_not_exists").length == 1).toEqual(false);
+ });
});