mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Set up environment for testing
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
#! /bin/bash
|
||||
#
|
||||
# Testing script for xterm.js
|
||||
|
||||
node_modules/.bin/mocha $@
|
||||
+5
-2
@@ -8,9 +8,12 @@
|
||||
"devDependencies": {
|
||||
"express": "4.13.4",
|
||||
"express-ws": "2.0.0-rc.1",
|
||||
"pty.js": "0.3.0"
|
||||
"pty.js": "0.3.0",
|
||||
"mocha": "2.5.3",
|
||||
"chai": "3.5.0"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "bash bin/server"
|
||||
"start": "bash bin/server",
|
||||
"test": "bash bin/test"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
var assert = require('chai').assert;
|
||||
|
||||
|
||||
describe('xterm', function() {
|
||||
// Just a dummy first test
|
||||
});
|
||||
Reference in New Issue
Block a user