Skip to content

Commit 1a3d7b6

Browse files
committed
first stab at some restructure of the code to support unit testing
1 parent 834abb7 commit 1a3d7b6

37 files changed

Lines changed: 297 additions & 26210 deletions

‎.babelrc‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"presets": ["es2015"],
3+
"plugins": ["babel-plugin-add-module-exports"]
4+
}

‎.vscode/launch.json‎

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Mocha",
6+
"type": "node",
7+
"request": "launch",
8+
"program": "${workspaceRoot}\\node_modules\\mocha\\bin\\_mocha",
9+
"stopOnEntry": false,
10+
"args": ["--compilers", "js:babel-register", "test/*.spec.js"],
11+
"cwd": "${workspaceRoot}",
12+
"preLaunchTask": null,
13+
"runtimeExecutable": null
14+
},
15+
{
16+
"name": "Launch",
17+
"type": "node",
18+
"request": "launch",
19+
"program": "${workspaceRoot}\\src\\index.js",
20+
"stopOnEntry": false,
21+
"args": [],
22+
"cwd": "${workspaceRoot}",
23+
"preLaunchTask": null,
24+
"runtimeExecutable": null,
25+
"runtimeArgs": [
26+
"--nolazy"
27+
],
28+
"env": {
29+
"NODE_ENV": "development"
30+
},
31+
"externalConsole": false,
32+
"sourceMaps": false,
33+
"outDir": null
34+
},
35+
{
36+
"name": "Attach",
37+
"type": "node",
38+
"request": "attach",
39+
"port": 5858,
40+
"address": "localhost",
41+
"restart": false,
42+
"sourceMaps": false,
43+
"outDir": null,
44+
"localRoot": "${workspaceRoot}",
45+
"remoteRoot": null
46+
}
47+
]
48+
}

‎bower.json‎

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)