mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-07-19 19:32:52 -04:00
Add basic unit tests
This commit is contained in:
11
test/create_item.js
Normal file
11
test/create_item.js
Normal 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);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user