{"id":18304632,"url":"https://github.com/numtel/css-unit-test-core","last_synced_at":"2025-04-09T10:37:22.835Z","repository":{"id":21099907,"uuid":"24400219","full_name":"numtel/css-unit-test-core","owner":"numtel","description":"Core [Meteor] Package for SteezTest.me","archived":false,"fork":false,"pushed_at":"2014-10-03T21:52:40.000Z","size":336,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-15T04:42:39.239Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/numtel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-24T04:04:10.000Z","updated_at":"2014-09-24T04:05:55.000Z","dependencies_parsed_at":"2022-08-05T11:00:24.062Z","dependency_job_id":null,"html_url":"https://github.com/numtel/css-unit-test-core","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/numtel%2Fcss-unit-test-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numtel%2Fcss-unit-test-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numtel%2Fcss-unit-test-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numtel%2Fcss-unit-test-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/numtel","download_url":"https://codeload.github.com/numtel/css-unit-test-core/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248021487,"owners_count":21034682,"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-11-05T15:29:45.556Z","updated_at":"2025-04-09T10:37:22.806Z","avatar_url":"https://github.com/numtel.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SteezTest.me Css Unit Test Core Package\n\n[![Build Status](https://travis-ci.org/numtel/css-unit-test-core.svg?branch=master)](https://travis-ci.org/numtel/css-unit-test-core)\n\n## Installation\n\n    meteor add numtel:css-unit-test-core\n\n## Implements\n\n### Collections\n\n* `CssTests` - Test records\n* `CssHistory` - Reports from each test run\n* `CssNormatives` (server only)\n\n### Subscribe Handles (client only)\n\n* `CssTestsHandle`\n* `CssHistoryHandle`\n\n### CssTest Class\n\n* `new CssTest(id)` - Load CssTest by Id\n* `new CssTest({...})` - Create new CssTest\n* `CssTest.remove()` - Completely delete `CssTest` and corresponding `CssHistory` and `CssNormatives` documents\n* `CssTest.update({...})` - Update fields on current CssTest\n* `CssTest.getHtml([{...}])` - Return full html including fixture and stylesheets.\n\n    Optionally pass in options:\n\n    `fixtureHtml: [string specified fixture html],`\n\n    `normativeValue: [object containing styles from a normative],`\n\n    `diff: [object containing style differences from normativeValue]`\n\n* `CssTest.getThumbnail([{...}])` - Return thumbnail preview in PNG data URI format (from cache if possible).\n\n    Optionally pass in options:\n\n    `width: [integer width in pixels],`\n\n    `height: [integer height in pixels],`\n\n    `forceRefresh: [boolean to bypass cache]`\n\n* `CssTest.extractStyles()` - Load page element styles for each width. Returns the styles object.\n* `CssTest.setNormative()` - Set new test normative using current styles. Returns the normative object.\n* `CssTest.loadNormative([id])` - Load a normative associated with this test. By default, the latest will be loaded, otherwise pass in the normative's Id as the only argument. Returns the normative document if found or undefined if not.\n* `CssTest.run()` - Run the test against the latest normative, returns the report.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumtel%2Fcss-unit-test-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnumtel%2Fcss-unit-test-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumtel%2Fcss-unit-test-core/lists"}