GitShow/developit/karmatic
developit

karmatic

๐Ÿฆ‘ Easy automatic (headless) browser testing with Jest's API, but powered by Karma & Webpack.

by developit
chrome-headlessjasminejestkarmakarma-pluginkarma-webpacktest-runnertesting
Star on GitHubForkWebsitenpm

JavaScript

1.2k stars42 forks10 contributorsQuiet ยท 4y agoSince 20182.0.0

Meet the team

See all 10 on GitHub โ†’
developit
developit86 contributions
andrewiggins
andrewiggins14 contributions
marvinhagemeister
marvinhagemeister8 contributions
dennis-johnson-dev
dennis-johnson-dev3 contributions
eliperelman
eliperelman1 contribution
Weetbix
Weetbix1 contribution
suchipi
suchipi1 contribution
lucapette
lucapette1 contribution

Languages

View on GitHub โ†’
JavaScript100%

Commit activity

Last 12 weeks ยท 0 commits

Full graph โ†’

Community health

1 of 6 standards met

Community profile โ†’
28
โœ“READMEโ—‹Licenseโ—‹Contributingโ—‹Code of Conductโ—‹Issue Templateโ—‹PR Template

Recent PRs & issues

Quiet ยท 5 in progress ยท Last activity 4y ago
See all on GitHub โ†’
andrewiggins
[WIP] Jest globals 2OpenPR

My attempt to include more Jest globals. Sharing to get early feedback though I need to take a break from this for now to focus on other things. fakeTimers.test.js has two tests failing right now because I think some tests are improperly leaking changed globals between tests. But I think this PR gets Jest's mocking function and fake timers API working!

andrewiggins ยท 5y ago
developit
[wip] Jest globalsOpenPR

Working on #48. A useful list of mappings between and Jasmine is here.

developit ยท 5y ago
andrewiggins
Add coverage as a separate babel loader if loaders already existOpenPR

With the new E2E test suite, I noticed that coverage is not properly reported when the user provides a custom webpack.config.js. This PR fixes that by detecting if webpack loaders exist and if so, adding a new babel-loader with just the coverage plugin enabled. Our tests also now enforce that coverage is correctly reported for all tests.

andrewiggins ยท 5y ago

Recent fixes

View closed PRs โ†’
naoak
Webpack 5 SupportClosedIssue

We have two PRs (developit/workerize-loader#101, developit/workerize-loader#114) for webpack 5 support in workerize-loader, but we can't test it unless we make karmatic webpack@5 compatible first. Now karma-webpack@5 supports webpack 5, so I think karmatic also could do it.

naoak ยท 4y ago
kumavis
Cannot find module 'webpack'ClosedIssue

I'm not using webpack, i am using rollup ```

kumavis ยท 4y ago
andrewiggins
Add support for bundling using RollupMergedPR

Couple of decisions I made up I wanted to call out: 1. I decided to include and plugins as deps so our default rollup config is mildly useful. Was thinking for uses with where there isn't a for us to use. Would be curious to get other's thoughts here on what plugins we should include. 2. If a rollup config is present, then I just use that unmodified. I'm not sure if rollup provides an API to modify the config/options of plugin instances from a config object. I think this method (of just using the provided config unmodified) is fine though. I think the only thing lost right now is code coverage (though I guess I could just add another babel plugin instance with only the coverage plugin configured...) This is still a work in progress but thought I'd put an early draft out here to get some feedback. I also need to update the testing infra a bit so I can validate this implementation but that's gonna come in a different PR.

andrewiggins ยท 5y ago
Structured data for AI agents

Repository: developit/karmatic. Description: ๐Ÿฆ‘ Easy automatic (headless) browser testing with Jest's API, but powered by Karma & Webpack. Stars: 1163, Forks: 42. Primary language: JavaScript. Languages: JavaScript (100%). Homepage: https://npm.im/karmatic Topics: chrome-headless, jasmine, jest, karma, karma-plugin, karma-webpack, test-runner, testing. Latest release: 2.0.0 (6y ago). Open PRs: 5, open issues: 5. Last activity: 4y ago. Community health: 28%. Top contributors: developit, andrewiggins, marvinhagemeister, dennis-johnson-dev, eliperelman, Weetbix, suchipi, lucapette.

ยท@ofershap

Replace github.com with gitshow.dev