File tree Expand file tree Collapse file tree 2 files changed +13
-6
lines changed
Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -167,15 +167,9 @@ export class DataManagerController implements ReactiveController {
167167 ...( data as Record < string , string > )
168168 }
169169 this . sourcesContextProvider . setValue ( merged )
170- console . debug ( 'Merged sources keys' , Object . keys ( merged ) )
171170 } else {
172171 const providerMap = {
173- mutations : this . mutationsContextProvider ,
174172 logs : this . logsContextProvider ,
175- consoleLogs : this . consoleLogsContextProvider ,
176- metadata : this . metadataContextProvider ,
177- commands : this . commandsContextProvider ,
178- sources : this . sourcesContextProvider ,
179173 suites : this . suitesContextProvider
180174 } as const
181175 const provider = providerMap [ scope as keyof typeof providerMap ]
Original file line number Diff line number Diff line change 1+ // const RUN_EVENT = 'app-run-tests'
2+ const VIEW_SOURCE_EVENT = 'app-source-highlight'
3+
4+ export const viewSource = (
5+ callSource : string | undefined
6+ ) => {
7+ if ( ! callSource ) return
8+ window . dispatchEvent (
9+ new CustomEvent ( VIEW_SOURCE_EVENT , {
10+ detail : callSource
11+ } )
12+ )
13+ }
You can’t perform that action at this time.
0 commit comments