8000 Rough reporting to html too, got the html mocha reporter and put the very very basics by arcturus · Pull Request #1 · delapuente/karma-sw-mocha · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Rough reporting to html too, got the html mocha reporter and put the very very basics #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

arcturus
Copy link

Was playing around with the reporter, and just copied the html generation from the mocha reporter, without adding the fancy stuff about suites and so on, but now it shows an scrollable iframe with the result of the tests:

http://gyazo.com/deee8d7381579afe0d8485c07aa1b8b5

@@ -19,6 +28,13 @@

function execKarmaMethod(evt) {
var msg = evt.data;
if (msg.command === 'result') {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As you can see later, there is another check to see if command is complete. Can you refactor this to use a map of commands and actions, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0