Skip to content

Commit

Permalink
build: prepare pubish first 3.0 compatible release
Browse files Browse the repository at this point in the history
  • Loading branch information
jankapunkt committed Jan 4, 2024
1 parent 4beee13 commit 3a3f581
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 3.0.0

- Meteor 3.0 compatibility; drop Fibers

## 2.1.0

- Re-run tests on browser refresh [PR #106](https://github.com/Meteor-Community-Packages/meteor-mocha/pull/106) and [PR #120](https://github.com/Meteor-Community-Packages/meteor-mocha/pull/120)
Expand Down
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# meteortesting:mocha
# Meteor Mocha - meteortesting:mocha

_Formerly published as dispatch:mocha. Originally created by [Dispatch](http://www.dispatch.me/) but now community maintained._


> _Formerly published as dispatch:mocha. Originally created by [Dispatch](http://www.dispatch.me/) but now community maintained._
A Mocha test driver package for Meteor. This package reports server AND client test results in the server console and can be used for running tests on a CI server or locally.

Expand All @@ -14,7 +16,10 @@ meteor add meteortesting:mocha

Not installing the package is possible but not advisable when creating a CI pipeline because the system will always download the latest version available, which might break your CI pipeline in a future major release of this package.

Since version 2.0.0 the package [lmieulet:meteor-coverage](https://github.com/serut/meteor-coverage) is no longer bundled with this package. If you permanently want code coverage please run:
Since version 2.0.0 the package [lmieulet:meteor-coverage](https://github.com/serut/meteor-coverage)
is no longer bundled with this package.

If you permanently want code coverage please run:

```bash
meteor add lmieulet:meteor-coverage
Expand All @@ -26,6 +31,8 @@ If you rather want the package to be included only for a single run, add the par
meteor test --driver-package meteortesting:mocha --extra-packages lmieulet:meteor-coverage
```

For the full documentation of meteor coverage, please consult [the docs in its repo](https://github.com/serut/meteor-coverage/).

## Run app tests

To watch your tests in Meteor 1.8.1+:
Expand Down
4 changes: 2 additions & 2 deletions package/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ Package.describe({
summary: 'Run Meteor package or app tests with Mocha',
git: 'https://github.com/meteortesting/meteor-mocha.git',
documentation: '../README.md',
version: '3.0.3-alpha300.11',
version: '3.0.3-beta300.0',
testOnly: true,
});

Package.onUse(function onUse(api) {
api.use([
'meteortesting:[email protected]alpha300.11',
'meteortesting:[email protected]beta300.0',
'[email protected]',
]);

Expand Down

0 comments on commit 3a3f581

Please sign in to comment.