mirror of
https://github.com/donl/slouch.git
synced 2026-05-25 22:07:24 -06:00
21 lines
425 B
JavaScript
21 lines
425 B
JavaScript
'use strict';
|
|
|
|
var chai = require('chai');
|
|
chai.use(require('chai-as-promised'));
|
|
chai.should();
|
|
|
|
var Foo = require('../scripts/foo');
|
|
|
|
require('./node-and-browser');
|
|
|
|
describe('node', function () {
|
|
|
|
it('should test only in node', function () {
|
|
// TODO: insert tests that can only be tested in node
|
|
var foo = new Foo();
|
|
return foo.bar().then(function (thing) {
|
|
thing.should.eql('yar');
|
|
});
|
|
});
|
|
|
|
});
|