Add basic unit tests

This commit is contained in:
jekkos
2015-04-01 17:53:07 +02:00
parent 8ff742085a
commit 39edf5ccdb
6 changed files with 40 additions and 31 deletions

11
test/create_item.js Normal file
View File

@@ -0,0 +1,11 @@
var assert = require("assert"); // node.js core module
var wd = require('wd')
describe('A Mocha test run by grunt-mocha-webdriver', function () {
it('has a browser injected into it', function () {
assert.ok(this.browser);
});
it('has wd injected into it for customizing', function () {
assert.notEqual(wd, undefined);
});
});