mirror of
https://github.com/KevinMidboe/zoff.git
synced 2026-01-01 15:16:17 +00:00
Started on node.js+socket.io+mongoDB on the backend for more responsivnes
This commit is contained in:
10
server/node_modules/mongojs/test/test-crash.js
generated
vendored
Executable file
10
server/node_modules/mongojs/test/test-crash.js
generated
vendored
Executable file
@@ -0,0 +1,10 @@
|
||||
var test = require('./tape');
|
||||
var cp = require('child_process');
|
||||
|
||||
test('crash', function(t) {
|
||||
var proc = cp.spawn('node', ['./crash.js']);
|
||||
proc.on('exit', function(code) {
|
||||
t.notEqual(code, 0);
|
||||
t.end();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user