{"id":19785806,"url":"https://github.com/dna-engine/load-web-page-jsdom-jasmine","last_synced_at":"2025-04-30T23:30:59.809Z","repository":{"id":68720661,"uuid":"87231581","full_name":"dna-engine/load-web-page-jsdom-jasmine","owner":"dna-engine","description":"Minimal example of loading a web page into jsdom and testing with Jasmine","archived":false,"fork":false,"pushed_at":"2025-01-09T06:19:32.000Z","size":86,"stargazers_count":4,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T05:51:18.689Z","etag":null,"topics":["example","jasmine","javascript","jsdom","localhost","nodejs","testing","url"],"latest_commit_sha":null,"homepage":"https://dna-engine.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dna-engine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-04T20:25:47.000Z","updated_at":"2025-01-09T06:19:35.000Z","dependencies_parsed_at":"2025-01-09T07:34:12.607Z","dependency_job_id":"ebf6ebd6-25a0-4ed6-8aa6-aa9adf1288d0","html_url":"https://github.com/dna-engine/load-web-page-jsdom-jasmine","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dna-engine%2Fload-web-page-jsdom-jasmine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dna-engine%2Fload-web-page-jsdom-jasmine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dna-engine%2Fload-web-page-jsdom-jasmine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dna-engine%2Fload-web-page-jsdom-jasmine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dna-engine","download_url":"https://codeload.github.com/dna-engine/load-web-page-jsdom-jasmine/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251799433,"owners_count":21645797,"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":["example","jasmine","javascript","jsdom","localhost","nodejs","testing","url"],"created_at":"2024-11-12T06:15:47.091Z","updated_at":"2025-04-30T23:30:59.236Z","avatar_url":"https://github.com/dna-engine.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# load-web-page-jsdom-jasmine\n\u003cimg src=https://dna-engine.org/graphics/dna-logo.png align=right width=160 alt=logo\u003e\n\n_Minimal example of loading a web page into jsdom and testing with Jasmine_\n\n[![Build](https://github.com/dna-engine/load-web-page-jsdom-jasmine/actions/workflows/run-spec-on-push.yaml/badge.svg)](https://github.com/dna-engine/load-web-page-jsdom-jasmine/actions/workflows/run-spec-on-push.yaml)\n\n### Instructions\nExecute `spec-runner.sh.command` or enter the terminal commands:\n```shell\n$ git clone https://github.com/dna-engine/load-web-page-jsdom-jasmine\n$ cd load-web-page-jsdom-jasmine\n$ npm install\n$ npm test  #runs \"jasmine spec.js\"\n```\n\nFor development testing, set the `url` variable in **spec.js** to your local web server, such as:\n`http://localhost:8080`\n\n\u003cimg src=https://raw.githubusercontent.com/dna-engine/load-web-page-jsdom-jasmine/main/screenshot.png\n   width=400 alt=screenshot\u003e\n\n### Comparison\nFor a Puppeteer/Mocha version, check out:\u003cbr\u003e\n[load-web-page-puppeteer-mocha](https://github.com/dna-engine/load-web-page-puppeteer-mocha)\n\n---\n[dna-engine.org](https://dna-engine.org) | [MIT License](LICENSE.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdna-engine%2Fload-web-page-jsdom-jasmine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdna-engine%2Fload-web-page-jsdom-jasmine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdna-engine%2Fload-web-page-jsdom-jasmine/lists"}