Skip to content

Commit

Permalink
fix(docs): Update 03-how-it-works.md (karma-runner#3539)
Browse files Browse the repository at this point in the history
trivial typo
  • Loading branch information
davidmaxwaterman authored and anthony-redFox committed May 5, 2023
1 parent ea94101 commit 9fd17e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/intro/03-how-it-works.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Once the server sees the websocket connection, it instructs the client -- over t
When the browser loads this context page, the onload event handler connects the context page to the client page via postMessage. The framework adapter is in charge at this point: it runs the test, reporting errors or success by messaging through the client page.

Messages sent to the client page are forwarded through the websocket to the Karma server. The server re-dispatches these messages as 'browser' events. The reporters listening to 'browser' events get the data; they may print it, save it to files, or forward the data to another service.
Since the data is sent by the test framework adapter to the reporter, adapters and reporters almost always come in pairs, like karma-jasmine and karma-jasmine-reporter. The detailed content of test-result data is of no concern to other parts of karma: only the reporter needs to know it format.
Since the data is sent by the test framework adapter to the reporter, adapters and reporters almost always come in pairs, like karma-jasmine and karma-jasmine-reporter. The detailed content of test-result data is of no concern to other parts of karma: only the reporter needs to know its format.

Karma has many variations and options that may cause different workflow with different configurations.

Expand Down

0 comments on commit 9fd17e1

Please sign in to comment.