# @talend/scripts-config-karma

> Karma configuration for @talend/scripts-core

Latest version **13.7.0** (published 2025-09-09) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @talend/scripts-config-karma
pnpm add @talend/scripts-config-karma
yarn add @talend/scripts-config-karma
bun add @talend/scripts-config-karma
```

## Health

**Score 25/100 (F)** — status: maintenance-mode.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 13.7.0 |
| Published | 2025-09-09 |
| First published | 2019-05-20 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 12 |
| Unpacked size | 8.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Talend Frontend |
| Maintainers | talend-frontend |

## Links

- npm: https://www.npmjs.com/package/@talend/scripts-config-karma
- Repository: https://github.com/Talend/ui-scripts
- Homepage: https://github.com/Talend/ui/tree/master/packages/ui-scripts#readme
- Issues: https://github.com/Talend/ui-scripts/issues
- npm.io page: https://npm.io/package/@talend/scripts-config-karma

## Dependencies (12)

- [karma](https://npm.io/package/karma.md) ^6.4.4
- [jasmine](https://npm.io/package/jasmine.md) ^4.6.0
- [webpack](https://npm.io/package/webpack.md) ^5.101.3
- [puppeteer](https://npm.io/package/puppeteer.md) ^17.1.3
- [html-loader](https://npm.io/package/html-loader.md) ^4.2.0
- [babel-loader](https://npm.io/package/babel-loader.md) ^8.4.1
- [jasmine-core](https://npm.io/package/jasmine-core.md) ^4.6.1
- [karma-jasmine](https://npm.io/package/karma-jasmine.md) ^5.1.0
- [karma-webpack](https://npm.io/package/karma-webpack.md) ^5.0.1
- [ngtemplate-loader](https://npm.io/package/ngtemplate-loader.md) ^2.1.0
- [karma-chrome-launcher](https://npm.io/package/karma-chrome-launcher.md) ^3.2.0
- [@talend/scripts-config-babel](https://npm.io/package/@talend/scripts-config-babel.md) ^13.7.0

## Recent versions

- 13.7.0 (latest) — 2025-09-09
- 10.0.0-alpha.1 (next) — 2021-02-12
- 13.6.1 — 2025-07-29
- 13.6.0 — 2025-07-10
- 13.5.3 — 2025-06-30
- 13.5.2 — 2025-06-25
- 13.5.1 — 2024-12-12
- 13.5.0 — 2024-07-31
- 13.4.1 — 2024-07-01
- 13.4.0 — 2024-06-17
- 13.3.0 — 2024-03-12
- 13.2.0 — 2024-01-29
- 13.1.0 — 2023-12-12
- 13.0.1 — 2023-11-07
- 13.0.0 — 2023-11-06
- … 188 more at https://npm.io/package/@talend/scripts-config-karma/versions

## README

# Karma config customisation

To run angular tests via karma, you need to create a `spec.bundle.js` in your project root.
It must include everything that Karma needs to load to run your tests.

Example
```javascript
import '@babel/polyfill';

// load the app files
import './src/app';

import 'angular-mocks';

// load tests files
const context = require.context('./src', true, /\.spec\.js/);
context.keys().forEach(context);
```

---
_Source: https://npm.io/package/@talend/scripts-config-karma · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
