{"id":20350010,"url":"https://github.com/webbestmaster/css-module-typescript-loader","last_synced_at":"2026-01-06T00:35:07.606Z","repository":{"id":239708417,"uuid":"800153077","full_name":"webbestmaster/css-module-typescript-loader","owner":"webbestmaster","description":"CSS Module Typescript Loader","archived":false,"fork":false,"pushed_at":"2024-09-24T22:19:51.000Z","size":74,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-08T02:09:20.473Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/webbestmaster.png","metadata":{"files":{"readme":"readme.autotest.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-13T19:57:15.000Z","updated_at":"2024-09-24T22:19:55.000Z","dependencies_parsed_at":"2024-06-23T04:31:44.232Z","dependency_job_id":null,"html_url":"https://github.com/webbestmaster/css-module-typescript-loader","commit_stats":null,"previous_names":["webbestmaster/css-module-typescript-loader"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webbestmaster%2Fcss-module-typescript-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webbestmaster%2Fcss-module-typescript-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webbestmaster%2Fcss-module-typescript-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webbestmaster%2Fcss-module-typescript-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webbestmaster","download_url":"https://codeload.github.com/webbestmaster/css-module-typescript-loader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224701460,"owners_count":17355360,"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-14T22:28:33.033Z","updated_at":"2026-01-06T00:35:07.559Z","avatar_url":"https://github.com/webbestmaster.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Autotests\n\n#### End-to-End test: jest + puppeteer\n\nRequired libraries:\n1. jest\n2. ts-jest\n3. @types/jest\n\n4. puppeteer\n5. @types/puppeteer\n\nRunning example:\n```bash\n$ jest ./test-e2e/ [--runInBand]\n```\n\n`--runInBand` - run tests sequentially\n\n\n#### Unit test: jest + react-*\n\nRequired libraries:\n1. jest\n2. ts-jest\n3. @types/jest\n\n4. @testing-library/react\n5. @testing-library/jest-dom\n\n6*. use https://mswjs.io/ to make http request\n\n7*. use https://github.com/testing-library/react-hooks-testing-library to test react hooks\n\nJest config `./jest.config.js`\n```javascript\n// eslint-disable-next-line unicorn/prefer-module\nmodule.exports = {\n    globals: {\n        'ts-jest': {\n            tsconfig: './tsconfig.test.json',\n        },\n    },\n    modulePathIgnorePatterns: ['\u003crootDir\u003e/tsc-check/'],\n    preset: 'ts-jest',\n    setupFilesAfterEnv: ['./test-unit/setup-jest.ts'],\n    testEnvironment: 'jsdom', // @testing-library/jest-dom\n    testTimeout: 10e3,\n};\n```\n\nRunning example:\n```bash\n$ jest ./test-unit/ --coverage\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebbestmaster%2Fcss-module-typescript-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebbestmaster%2Fcss-module-typescript-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebbestmaster%2Fcss-module-typescript-loader/lists"}