From 3a3f581e9c128fd5a9bce205f46c3059c7c49c3d Mon Sep 17 00:00:00 2001 From: jankapunkt Date: Thu, 4 Jan 2024 20:38:58 +0100 Subject: [PATCH] build: prepare pubish first 3.0 compatible release --- CHANGELOG.md | 4 ++++ README.md | 13 ++++++++++--- package/package.js | 4 ++-- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e075f5c..2fcd611 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/README.md b/README.md index 5404434..c27d2c9 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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 @@ -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+: diff --git a/package/package.js b/package/package.js index d421e2a..1be49b4 100644 --- a/package/package.js +++ b/package/package.js @@ -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:mocha-core@8.2.2-alpha300.11', + 'meteortesting:mocha-core@8.2.2-beta300.0', 'ecmascript@0.16.8-alpha300.11', ]);