Skip to content

Commit

Permalink
Internal references working
Browse files Browse the repository at this point in the history
  • Loading branch information
robmoffat committed Nov 29, 2023
1 parent 244bfdc commit 9775f44
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 97 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { AppIdentifier } from "@finos/fdc3";
import { AgentRequestMessage } from "@finos/fdc3/dist/bridging/BridgingTypes";
//import { Messaging } from "@finos/web-fdc3-desktop-agent/src/Messaging";
import { Messaging } from "@finos/web-fdc3-desktop-agent/src/Messaging";

type ListenerDetail = {
filter: (m: AgentRequestMessage) => boolean,
action: (m: AgentRequestMessage) => void
}

export class TestMessaging /* implements Messaging */ {
export class TestMessaging implements Messaging {

readonly allPosts : AgentRequestMessage[] = []
readonly listeners : Map<string, ListenerDetail> = new Map()
Expand Down
5 changes: 5 additions & 0 deletions packages/web-fdc3-desktop-agent-tests/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,9 @@
"allowImportingTsExtensions": false
},
"include": [ "test" ],
"references": [
{
"path": "../web-fdc3-desktop-agent"
}
]
}
50 changes: 0 additions & 50 deletions packages/web-fdc3-desktop-agent/cucumber-report.html

This file was deleted.

1 change: 0 additions & 1 deletion packages/web-fdc3-desktop-agent/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "@finos/web-fdc3-desktop-agent",
"version": "0.0.0",
"type": "module",
"scripts": {
"build": "tsc"
},
Expand Down
43 changes: 0 additions & 43 deletions packages/web-fdc3-desktop-agent/reports/report.html

This file was deleted.

3 changes: 2 additions & 1 deletion packages/web-fdc3-desktop-agent/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"noEmit": false,
"outDir": "target"
},
"include": [ "src" ]
"include": [ "src" ]
}
3 changes: 3 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,8 @@
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,

/* for monorepo */
"composite": true
}
}

0 comments on commit 9775f44

Please sign in to comment.