Skip to content

Commit e19b5e6

Browse files
author
evilebottnawi
committed
chore: prepare 1.0.3 release
1 parent ba74431 commit e19b5e6

4 files changed

Lines changed: 287 additions & 188 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44

55
This project adheres to [Semantic Versioning](http://semver.org).
66

7+
## 1.0.3 - 2018-01-15
8+
9+
* Chore: minimum required `execa` version is now `^0.9.0`.
10+
711
## 1.0.2 - 2018-01-11
812

913
* Chore: simplify error handling.

__tests__/index.test.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ describe("execa-webpack-plugin", () => {
6060
expect(() => run()).toThrow());
6161

6262
it("should works with `onBuildStart` option", () => {
63+
expect.assertions(2);
6364
mkdirSyncSafe(dir);
6465

6566
expect(fs.statSync(dir).isDirectory()).toBe(true);
@@ -81,6 +82,8 @@ describe("execa-webpack-plugin", () => {
8182
});
8283

8384
it("should works with `onBuildStart` and `dev` is `false` option", () => {
85+
expect.assertions(2);
86+
8487
mkdirSyncSafe(dir);
8588

8689
expect(fs.statSync(dir).isDirectory()).toBe(true);
@@ -103,6 +106,8 @@ describe("execa-webpack-plugin", () => {
103106
});
104107

105108
it("should works with `onBuildEnd` option", () => {
109+
expect.assertions(2);
110+
106111
mkdirSyncSafe(dir);
107112

108113
expect(fs.statSync(dir).isDirectory()).toBe(true);
@@ -124,6 +129,8 @@ describe("execa-webpack-plugin", () => {
124129
});
125130

126131
it("should works with `onBuildEnd` and `dev` is `false` options", () => {
132+
expect.assertions(2);
133+
127134
mkdirSyncSafe(dir);
128135

129136
expect(fs.statSync(dir).isDirectory()).toBe(true);
@@ -146,6 +153,8 @@ describe("execa-webpack-plugin", () => {
146153
});
147154

148155
it("should works with `onBuildExit` option", () => {
156+
expect.assertions(2);
157+
149158
mkdirSyncSafe(dir);
150159

151160
expect(fs.statSync(dir).isDirectory()).toBe(true);
@@ -167,6 +176,8 @@ describe("execa-webpack-plugin", () => {
167176
});
168177

169178
it("should works with `onBuildExit` and `dev` is `false` options", () => {
179+
expect.assertions(2);
180+
170181
mkdirSyncSafe(dir);
171182

172183
expect(fs.statSync(dir).isDirectory()).toBe(true);
@@ -189,6 +200,8 @@ describe("execa-webpack-plugin", () => {
189200
});
190201

191202
it("should throw error with `bail: true` option", () => {
203+
expect.assertions(1);
204+
192205
let catchError = null;
193206

194207
return run({
@@ -226,6 +239,8 @@ describe("execa-webpack-plugin", () => {
226239
}));
227240

228241
it("should works with nested commands", () => {
242+
expect.assertions(2);
243+
229244
mkdirSyncSafe(dir);
230245

231246
expect(fs.statSync(dir).isDirectory()).toBe(true);
@@ -252,6 +267,8 @@ describe("execa-webpack-plugin", () => {
252267
});
253268

254269
it("should works when nested commands return nothing and 'bail: false'", () => {
270+
expect.assertions(1);
271+
255272
let catchError = null;
256273

257274
return run({

0 commit comments

Comments
 (0)