|
31 | 31 | "unitTest": "ts-mocha --reporter list", |
32 | 32 | "dockerReady": "npm run dockerClean && (cd test/fixtures/docker-compose && docker-compose -f docker-compose-tls-level-db.yaml -p node up -d && sleep 15 && docker ps -a)", |
33 | 33 | "tapeIntegration": "./scripts/npm_scripts/runTape.sh", |
34 | | - "cucumberScenario": "npm run setupCucumbers && export HFC_LOGGING='{\"debug\":\"test/temp/debugc.log\"}' && npm run test:cucumber && npm run dockerClean && nyc --check-coverage --statements 54 --branches 32 --functions 46 --lines 54 npm run test:ts-cucumber", |
35 | | - "cucumberScenarioNoHSM": "npm run setupCucumbers && export HFC_LOGGING='{\"debug\":\"test/temp/debugc.log\"}' && npm run test:cucumber && npm run dockerClean && nyc --check-coverage --statements 54 --branches 32 --functions 46 --lines 54 npm run test:ts-cucumberNoHSM", |
| 34 | + "cucumberScenario": "npm run setupCucumbers && export HFC_LOGGING='{\"debug\":\"test/temp/debugc.log\"}' && npm run dockerClean && nyc --check-coverage --statements 54 --branches 32 --functions 46 --lines 54 npm run test:ts-cucumber", |
| 35 | + "cucumberScenarioNoHSM": "npm run setupCucumbers && export HFC_LOGGING='{\"debug\":\"test/temp/debugc.log\"}' && npm run dockerClean && nyc --check-coverage --statements 54 --branches 32 --functions 46 --lines 54 npm run test:ts-cucumberNoHSM", |
36 | 36 | "setupCucumbers": "node -e 'require(\"./scripts/npm_scripts/testFunctions.js\").createCucumberLogFile()'", |
37 | | - "test:cucumber": "cucumber-js -f @cucumber/pretty-formatter ./test/scenario/features/*.feature", |
38 | | - "test:ts-cucumber": "cucumber-js -f @cucumber/pretty-formatter ./test/ts-scenario/features/*.feature --require './test/ts-scenario/steps/**/*.ts' --require './test/ts-scenario/support/**/*.ts' --require-module ts-node/register", |
39 | | - "test:ts-cucumberNoHSM": "cucumber-js -f @cucumber/pretty-formatter ./test/ts-scenario/features/*.feature --require './test/ts-scenario/steps/**/*.ts' --require './test/ts-scenario/support/**/*.ts' --require-module ts-node/register --tags 'not @gateway_hsm'", |
40 | | - "test:ts-cucumber-tagged": "npm run test:ts-cucumber -- --tags @events", |
| 37 | + "test:ts-cucumber": "tsc --project test/ts-scenario/tsconfig.json && cucumber-js -f @cucumber/pretty-formatter ./test/ts-scenario/features/*.feature --require './test/ts-scenario/lib/**/*.js'", |
| 38 | + "test:ts-cucumberNoHSM": "npm run test:ts-cucumber -- --tags 'not @gateway_hsm'", |
41 | 39 | "testHeadless": "run-s cleanUp compile lint unitTest:all", |
42 | 40 | "tapeAndCucumber": "run-s tapeIntegration dockerClean cucumberScenario" |
43 | 41 | }, |
|
79 | 77 | "tape-promise": "^4.0.0", |
80 | 78 | "ts-mocha": "^9.0.2", |
81 | 79 | "ts-mock-imports": "^1.3.4", |
82 | | - "ts-node": "^10.5.0", |
83 | 80 | "typescript": "~4.4.4", |
84 | 81 | "winston": "^2.4.5" |
85 | 82 | }, |
|
0 commit comments