Initial attempt for e2e tests

- Add node code for e2e tests. This is a first take to try running
  these tests via actions.
- Relates to #401
This commit is contained in:
Janne Valkealahti
2022-05-06 13:41:10 +01:00
parent 8a23518b84
commit 3743a7f32d
17 changed files with 6844 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
{
"name": "spring-shell-e2e",
"version": "2.1.0",
"description": "spring-shell e2e test framework",
"main": "./lib/cli.js",
"exports": {
".": "./lib/cli.js"
},
"typesVersions": {
"*": {
"cli.d.ts": [
"lib/cli.d.ts"
]
}
},
"type": "module",
"scripts": {
"build": "tsc",
"test": "jest",
"format": "prettier --write **/*.ts",
"format-check": "prettier --check **/*.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/spring-projects/spring-shell.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/spring-projects/spring-shell/issues"
},
"homepage": "https://github.com/spring-projects/spring-shell#readme",
"devDependencies": {
"prettier": "^2.6.2",
"typescript": "^4.6.4"
},
"dependencies": {
"node-pty": "^0.10.1",
"xterm-headless": "^4.18.0"
}
}