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

Fix passing of non-enumerable Error properties from the child test runner #1276

Merged
merged 1 commit into from
Jan 31, 2018

Conversation

papandreou
Copy link
Contributor

Before I got an error like this when I had added tests for a language that hadn't yet been added to components.js:

     Error: the object {
  "uncaught": true
} was thrown, throw an Error :)

After this change it turned into:

Uncaught Error: Language 'csp' not found.

@Golmote
Copy link
Contributor

Golmote commented Jan 31, 2018

Looks good to me!

@Golmote Golmote merged commit 38df653 into PrismJS:gh-pages Jan 31, 2018
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