Skip to content

Commit

Permalink
Merge 67a5af1 into f1e85dc
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmaxwaterman committed Jul 8, 2020
2 parents f1e85dc + 67a5af1 commit be4f9af
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 be4f9af

Please sign in to comment.