Skip to content

Commit 2c4c22c

Browse files
committed
config updates on EAN13 debug
1 parent 1ef1533 commit 2c4c22c

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed

.vscode/launch.json

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,22 @@
5454
{
5555
"type": "node",
5656
"request": "launch",
57-
"name": "EAN 13 Tests",
58-
"program": "${workspaceFolder}/node_modules/mocha-webpack/bin/mocha-webpack",
57+
"name": "EAN 13 Tests - ts-node",
58+
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
5959
"args": [
60-
"./src/test/core/oned/Ean13*.spec.ts",
61-
"--colors",
60+
"--require",
61+
"ts-node/register",
62+
"--require",
63+
"tsconfig-paths/register",
64+
"-u",
65+
"tdd",
6266
"--timeout",
6367
"999999",
64-
"--webpack-env",
65-
"dbg",
66-
"--webpack-config",
67-
"webpack.config.test.js"
68-
]
68+
"--colors",
69+
"--recursive",
70+
"./src/test/core/oned/Ean13*.spec.ts"
71+
],
72+
"internalConsoleOptions": "openOnSessionStart"
6973
},
7074
{
7175
"type": "node",

src/test/core/oned/Ean13BlackBox1.spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
import { BarcodeFormat } from '@zxing/library';
18-
import { MultiFormatReader } from '@zxing/library';
17+
import { BarcodeFormat, MultiFormatReader } from '@zxing/library';
1918
import AbstractBlackBoxSpec from '../common/AbstractBlackBox';
2019

2120
/**

0 commit comments

Comments
 (0)