var
assert = require(
'assert'
);
var
Browser = require(
'zombie'
);
var
browser =
new
Browser();
describe(
"Index Page"
,
function
(){
it(
"contains #content div"
,
function
(done){
assert.ok(browser.success);
assert.ok(browser.query(
"#content"
))
done();
});
});
});
<!DOCTYPE html>
<
html
>
<
head
>
<
title
>Hello World</
title
>
</
head
>
<
body
>
<
div
id
=
"content"
>
</
div
>
</
body
>
</
html
>
--
You received this message because you are subscribed to the Google Groups "zombie.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zombie-js+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.