mirror of
https://github.com/donl/slouch.git
synced 2026-06-30 06:11:57 -06:00
15 lines
354 B
JavaScript
15 lines
354 B
JavaScript
'use strict';
|
|
|
|
var Foo = require('../scripts/foo');
|
|
|
|
describe('node and browser', function () {
|
|
|
|
it('should test in both node and the browser', function () {
|
|
// TODO: insert tests that can be tested in both node and the browser
|
|
var foo = new Foo();
|
|
return foo.bar().then(function (thing) {
|
|
thing.should.eql('yar');
|
|
});
|
|
});
|
|
|
|
});
|