Skip to content

Commit

Permalink
Merge pull request #630 from nextcloud/feat/more-unittests-code-coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv authored Jul 7, 2023
2 parents f0e9195 + 1eba5a3 commit 2ef9ed4
Show file tree
Hide file tree
Showing 11 changed files with 515 additions and 3,354 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# @nextcloud/event-bus
[![Build Status](https://img.shields.io/github/actions/workflow/status/nextcloud/nextcloud-event-bus/node.yml?branch=master)](https://github.com/nextcloud/nextcloud-event-bus/actions/workflows/node.yml?query=branch%3Amaster)
[![npm](https://img.shields.io/npm/v/@nextcloud/event-bus.svg)](https://www.npmjs.com/package/@nextcloud/event-bus)
[![Build Status](https://img.shields.io/github/actions/workflow/status/nextcloud/nextcloud-event-bus/node.yml?branch=master)](https://github.com/nextcloud/nextcloud-event-bus/actions/workflows/node.yml?query=branch%3Amaster) [![Code coverage](https://img.shields.io/codecov/c/gh/nextcloud/nextcloud-event-bus/master)](https://app.codecov.io/gh/nextcloud/nextcloud-event-bus) [![npm](https://img.shields.io/npm/v/@nextcloud/event-bus.svg)](https://www.npmjs.com/package/@nextcloud/event-bus)
[![Documentation](https://img.shields.io/badge/Documentation-online-brightgreen)](https://nextcloud.github.io/nextcloud-event-bus/)

A simple event bus to communicate between Nextcloud components.
Expand Down
13 changes: 13 additions & 0 deletions jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import type { JestConfigWithTsJest } from 'ts-jest'
import pkgJson from './package.json'

const jestConfig: JestConfigWithTsJest = {
preset: 'ts-jest/presets/default',
testEnvironment: 'jsdom',

globals: {
__pkg_version: pkgJson.version
}
}

export default jestConfig
Loading

0 comments on commit 2ef9ed4

Please sign in to comment.