Skip to content

Commit

Permalink
Scrappy, but coverage working
Browse files Browse the repository at this point in the history
  • Loading branch information
robmoffat committed Jan 20, 2024
1 parent 9071b45 commit f0b4c5b
Show file tree
Hide file tree
Showing 18 changed files with 1,626 additions and 486 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "@finos/web-fdc3",
"private": true,
"version": "0.0.0",
"type": "module",
"workspaces": [
"packages/*"
],
Expand Down
1 change: 0 additions & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "client",
"main": "src/index.ts",
"type": "module",
"scripts": {
"build": "tsc -b"
},
Expand Down
1 change: 0 additions & 1 deletion packages/fdc3-common/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "fdc3-common",
"main": "src/index.ts",
"type": "module",
"scripts": {
"build": "tsc -b"
},
Expand Down
File renamed without changes.
5 changes: 1 addition & 4 deletions packages/testing/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
packageExtensions:
"@cucumber/cucumber@*":
dependencies:
"ts-node": "*"
"cucumber-console-formatter": "*"


"ts-node": "*"
File renamed without changes.
30 changes: 18 additions & 12 deletions packages/testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,34 @@
"name": "testing",
"version": "0.0.0",
"scripts": {
"build": "",
"test": "nyc cucumber-js test/features/*.feature --require-module ts-node/register --require test/step-definitions/generic.steps.ts --require test/step-definitions/channels.steps.ts --require test/world/index.ts --require test/support/DefaultUserChannels.ts --require test/support/matching.ts --require test/support/TestMessaging.ts --format summary --publish-quiet"
"build": "nyc cucumber-js src/features/*.feature --format cucumber-console-formatter --require-module ts-node/register --require src/step-definitions/generic.steps.ts --require src/step-definitions/channels.steps.ts --require src/world/index.ts --require src/support/DefaultUserChannels.ts --require src/support/matching.ts --require src/support/TestMessaging.ts --publish-quiet"
},
"devDependencies": {
"@cucumber/cucumber": "7.0.0",
"@cucumber/html-formatter": "11.0.4",
"@types/eslint": "^8",
"@types/lodash": "^4.14.202",
"@types/node": "20.10.0",
"chai": "4.3.10",
"eslint": "^8.53.0",
"expect": "^29.7.0",
"jsonpath-plus": "^7.2.0",
"lodash": "^4.17.21",
"nyc": "^15.1.0",
"ts-node": "10.9.1",
"@cucumber/pretty-formatter": "1.0.0-alpha.0",
"@types/expect": "24.3.0",
"@types/lodash": "4.14.167",
"@types/node": "14.14.20",
"@typescript-eslint/eslint-plugin": "4.12.0",
"@typescript-eslint/parser": "4.12.0",
"cucumber-console-formatter": "1.0.0",
"eslint": "7.17.0",
"eslint-config-prettier": "7.1.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-prettier": "3.3.1",
"is-ci": "2.0.0",
"nyc": "15.1.0",
"prettier": "2.2.1",
"ts-node": "^10.9.2",
"typescript": "5.3.2"
},
"dependencies": {
"@finos/fdc3": "^2.1.0-beta.4",
"@types/uuid": "^9.0.7",
"da": "workspace:*",
"expect": "^29.7.0",
"jsonpath-plus": "^7.2.0",
"uuid": "^9.0.1"
}
}
File renamed without changes.
File renamed without changes.
15 changes: 0 additions & 15 deletions packages/testing/tsconfig copy.json

This file was deleted.

17 changes: 2 additions & 15 deletions packages/testing/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,7 @@
{
"extends": "../../tsconfig.root.json",
"compilerOptions": {
/* Basic Options */
"target": "esnext", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
"sourceMap": true, /* Generates corresponding '.map' file. */
"noEmit": true, /* Do not emit outputs. */
"strict": true, /* Enable all strict type-checking options. */
"noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
"noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
"noUnusedLocals": true, /* Report errors on unused locals. */
"noUnusedParameters": true, /* Report errors on unused parameters. */
"noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
"noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
"skipDefaultLibCheck": true,
"resolveJsonModule": true,
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */

},
"references": [
{
Expand Down
23 changes: 0 additions & 23 deletions tsconfig.root copy.json

This file was deleted.

Loading

0 comments on commit f0b4c5b

Please sign in to comment.