mirror of
https://git.proxmox.com/git/mirror_xterm.js
synced 2025-10-04 19:18:32 +00:00
Set up environment for testing
This commit is contained in:
parent
f87300d30e
commit
fa093e2bd2
5
bin/test
Executable file
5
bin/test
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
#
|
||||||
|
# Testing script for xterm.js
|
||||||
|
|
||||||
|
node_modules/.bin/mocha $@
|
@ -8,9 +8,12 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"express": "4.13.4",
|
"express": "4.13.4",
|
||||||
"express-ws": "2.0.0-rc.1",
|
"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": {
|
"scripts": {
|
||||||
"start": "bash bin/server"
|
"start": "bash bin/server",
|
||||||
|
"test": "bash bin/test"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
6
test/test.js
Normal file
6
test/test.js
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
var assert = require('chai').assert;
|
||||||
|
|
||||||
|
|
||||||
|
describe('xterm', function() {
|
||||||
|
// Just a dummy first test
|
||||||
|
});
|
Loading…
Reference in New Issue
Block a user