{"id":15543773,"url":"https://github.com/amiel/qunit-skip-example","last_synced_at":"2025-07-06T12:06:19.818Z","repository":{"id":66642259,"uuid":"88309057","full_name":"amiel/qunit-skip-example","owner":"amiel","description":"This repo shows an example of ","archived":false,"fork":false,"pushed_at":"2017-04-14T23:17:26.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-03T12:33:08.853Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amiel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-14T22:54:05.000Z","updated_at":"2017-04-14T22:58:07.000Z","dependencies_parsed_at":"2023-04-14T11:45:46.646Z","dependency_job_id":null,"html_url":"https://github.com/amiel/qunit-skip-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/amiel/qunit-skip-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amiel%2Fqunit-skip-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amiel%2Fqunit-skip-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amiel%2Fqunit-skip-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amiel%2Fqunit-skip-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amiel","download_url":"https://codeload.github.com/amiel/qunit-skip-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amiel%2Fqunit-skip-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263897919,"owners_count":23526831,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T12:28:20.724Z","updated_at":"2025-07-06T12:06:19.774Z","avatar_url":"https://github.com/amiel.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# qunit-skip-example\n\nThis example projects shows an example of an unexpected test failure when using skip in a service test.\n\nhttps://github.com/emberjs/ember-qunit/issues/\u003cput-issue-id-here\u003e\n\nThe relevant test can be found in [`tests/unit/services/example-service-test.js`](https://github.com/amiel/qunit-skip-example/blob/master/tests/unit/services/example-service-test.js).\n\n## To reproduce\n\n1. Clone, yarn install\n\n   I also had to `yarn add phantomjs-prebuilt`\n\n2. `ember test` or `ember test --server`\n\n3. Note the `test('it exists')` fails with:\n\n    ```\n    beforeEach failed on it exists: Cannot read property 'setContext' of undefined\n    Expected:\n    null\n    Message: \tDiff suppressed as the expected and actual results have an equivalent serialization\n    Source:\n    TypeError: Cannot read property 'setContext' of undefined\n        at Object.beforeEach (http://localhost:7357/assets/test-support.js:5396:15)\n        at callHook (http://localhost:7357/assets/test-support.js:1479:22)\n        at runHook (http://localhost:7357/assets/test-support.js:1473:7)\n        at Object.advance (http://localhost:7357/assets/test-support.js:1106:26)\n        at begin (http://localhost:7357/assets/test-support.js:2779:20)\n        at http://localhost:7357/assets/test-support.js:1990:6\n    Died on test #2     at Module.callback (http://localhost:7357/assets/tests.js:187:24)\n        at Module.exports (http://localhost:7357/assets/vendor.js:119:32)\n        at requireModule (http://localhost:7357/assets/vendor.js:34:18)\n        at TestLoader.require (http://localhost:7357/assets/test-support.js:5239:7)\n        at TestLoader.loadModules (http://localhost:7357/assets/test-support.js:5231:14)\n        at Function.TestLoader.load (http://localhost:7357/assets/test-support.js:5261:22)\n        at http://localhost:7357/assets/test-support.js:5144:18: this.subject is not a function\n    Expected:\n    null\n    Message: \tDiff suppressed as the expected and actual results have an equivalent serialization\n    Source:\n    TypeError: this.subject is not a function\n        at Object.\u003canonymous\u003e (http://localhost:7357/assets/tests.js:188:24)\n        at runTest (http://localhost:7357/assets/test-support.js:1442:30)\n        at Test.run (http://localhost:7357/assets/test-support.js:1428:6)\n        at http://localhost:7357/assets/test-support.js:1620:12\n        at Object.advance (http://localhost:7357/assets/test-support.js:1106:26)\n        at begin (http://localhost:7357/assets/test-support.js:2779:20)\n        at http://localhost:7357/assets/test-support.js:1990:6\n    Promise rejected after \"it exists\": Cannot read property 'teardown' of undefined\n    Expected:\n    null\n    Message: \tDiff suppressed as the expected and actual results have an equivalent serialization\n    Source:\n    TypeError: Cannot read property 'teardown' of undefined\n        at http://localhost:7357/assets/test-support.js:5410:37\n        at tryCatch (http://localhost:7357/assets/vendor.js:69641:14)\n        at invokeCallback (http://localhost:7357/assets/vendor.js:69656:15)\n        at http://localhost:7357/assets/vendor.js:69731:18\n        at http://localhost:7357/assets/vendor.js:49460:9\n        at invokeWithOnError (http://localhost:7357/assets/vendor.js:10918:16)\n        at Queue.flush (http://localhost:7357/assets/vendor.js:10977:9)\n        at DeferredActionQueues.flush (http://localhost:7357/assets/vendor.js:11101:15)\n        at Backburner.end (http://localhost:7357/assets/vendor.js:11171:23)\n        at http://localhost:7357/assets/vendor.js:11737:16\n    ```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famiel%2Fqunit-skip-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famiel%2Fqunit-skip-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famiel%2Fqunit-skip-example/lists"}