mirror of
https://github.com/sofastack/sofa-rpc-node.git
synced 2026-01-18 15:55:54 +00:00
15 lines
345 B
JavaScript
15 lines
345 B
JavaScript
'use strict';
|
|
|
|
const path = require('path');
|
|
const coffee = require('coffee');
|
|
|
|
describe('test/client/index.test.js', () => {
|
|
it('should not have stderr', done => {
|
|
coffee.fork(path.join(__dirname, 'require.js'), [])
|
|
.expect('stdout', 'hello world\n')
|
|
.expect('stderr', '')
|
|
.expect('code', 0)
|
|
.end(done);
|
|
});
|
|
});
|