Title: test failure: test/run_script.js:31:14 · Issue #640 · nodejs/node-addon-api · GitHub
Open Graph Title: test failure: test/run_script.js:31:14 · Issue #640 · nodejs/node-addon-api
X Title: test failure: test/run_script.js:31:14 · Issue #640 · nodejs/node-addon-api
Description: Test failed since ffc71ed on Node.js v6. Test failed: JavaScript, but not a string /home/travis/build/nodejs/node-addon-api/test/testUtil.js:17 throw e; ^ TypeError: expected.call is not a function at expectedException (assert.js:299:19)...
Open Graph Description: Test failed since ffc71ed on Node.js v6. Test failed: JavaScript, but not a string /home/travis/build/nodejs/node-addon-api/test/testUtil.js:17 throw e; ^ TypeError: expected.call is not a function...
X Description: Test failed since ffc71ed on Node.js v6. Test failed: JavaScript, but not a string /home/travis/build/nodejs/node-addon-api/test/testUtil.js:17 throw e; ^ TypeError: expected.call is not a function...
Opengraph URL: https://github.com/nodejs/node-addon-api/issues/640
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test failure: test/run_script.js:31:14","articleBody":"Test failed since ffc71edd54e98607e29c2b22e365e551c953d628 on Node.js v6.\r\n\r\n```\r\nTest failed: JavaScript, but not a string\r\n/home/travis/build/nodejs/node-addon-api/test/testUtil.js:17\r\n throw e;\r\n ^\r\nTypeError: expected.call is not a function\r\n at expectedException (assert.js:299:19)\r\n at innerThrows (assert.js:343:8)\r\n at Function.throws (assert.js:350:3)\r\n at Array.testUtil.runGCTests (/home/travis/build/nodejs/node-addon-api/test/run_script.js:31:14)\r\n at runGCTests (/home/travis/build/nodejs/node-addon-api/test/testUtil.js:14:17)\r\n at runGCTests (/home/travis/build/nodejs/node-addon-api/test/testUtil.js:11:7)\r\n at Immediate.setImmediate (/home/travis/build/nodejs/node-addon-api/test/testUtil.js:21:9)\r\n at runCallback (timers.js:672:20)\r\n at tryOnImmediate (timers.js:645:5)\r\n at processImmediate [as _immediateCallback] (timers.js:617:5)\r\n```\r\n\r\nI'd believe it's an API issue that `assert.throws` support objects as the second parameter since v9.2 (which has been backported to v8).","author":{"url":"https://github.com/legendecas","@type":"Person","name":"legendecas"},"datePublished":"2019-12-25T02:45:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/640/node-addon-api/issues/640"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0a6337ee-a3c6-c727-9b50-ed1684e5ef30 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9F68:6F3CF:1718FE4:1F86558:6A4F08E3 |
| html-safe-nonce | bc82f5edef459cd8501207259e407c1379b1630b6d10d1bcc11ec4455f1c12d1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjY4OjZGM0NGOjE3MThGRTQ6MUY4NjU1ODo2QTRGMDhFMyIsInZpc2l0b3JfaWQiOiI1NzkxODAyNTkyMDE2MTQwNTE1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0cacc8c704b2f794e382ce073040fbb11d0ba1f03695c099f5a232de8dcc547b |
| hovercard-subject-tag | issue:542239043 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node-addon-api/640/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8ae57bb945b30caab625faa106b425a20d20695cbd6770a8103b234a59c773f5/nodejs/node-addon-api/issues/640 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8ae57bb945b30caab625faa106b425a20d20695cbd6770a8103b234a59c773f5/nodejs/node-addon-api/issues/640 |
| og:image:alt | Test failed since ffc71ed on Node.js v6. Test failed: JavaScript, but not a string /home/travis/build/nodejs/node-addon-api/test/testUtil.js:17 throw e; ^ TypeError: expected.call is not a function... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | legendecas |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node-addon-api git https://github.com/nodejs/node-addon-api.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 81384578 |
| octolytics-dimension-repository_nwo | nodejs/node-addon-api |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81384578 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node-addon-api |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b8f23afb982271f1b22258a94aede67a6b77760 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width