Skip to content
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

Duplicate error messages (reopen) #308

Open
top-master opened this issue Mar 23, 2022 · 0 comments
Open

Duplicate error messages (reopen) #308

top-master opened this issue Mar 23, 2022 · 0 comments

Comments

@top-master
Copy link

top-master commented Mar 23, 2022

#60

Above closed-issue is not fixed yet, at least not correctly.

For example, my context contains JSON, which causes both the error and the JSON to get duplicated in the logs.

expect(window.MyGlobalVariable)
    .withContext('Was not in global var: ' + JSON.stringify(window.jQuery, null, 2))
    .toEqual(jasmine.objectContaining({
        'my/tested/key': jasmine.objectContaining({
            default: jasmine.anything()
        })
    }));

Update; seems is line-fade related, because jasmine.pp(...) + '\ntest' does not work (but jasmine.pp(...) works, as it has no line-fade).

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

No branches or pull requests

1 participant