Skip to content

Commit 55f05af

Browse files
greenkeeper[bot]pvdlg
authored andcommitted
chore(package): update ava to version 3.1.0
1 parent 5ffdf49 commit 55f05af

File tree

4 files changed

+20
-15
lines changed

4 files changed

+20
-15
lines changed

package.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
"description": "semantic-release plugin to create or update a changelog file",
44
"version": "0.0.0-development",
55
"author": "Pierre Vanduynslager (https://github.com/pvdlg)",
6+
"ava": {
7+
"files": [
8+
"test/**/*.test.js"
9+
]
10+
},
611
"bugs": {
712
"url": "https://github.com/semantic-release/changelog/issues"
813
},
@@ -17,7 +22,7 @@
1722
"lodash": "^4.17.4"
1823
},
1924
"devDependencies": {
20-
"ava": "^2.0.0",
25+
"ava": "^3.1.0",
2126
"clear-module": "^4.0.0",
2227
"codecov": "^3.0.0",
2328
"nyc": "^15.0.0",

test/integration.test.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import path from 'path';
2-
import test from 'ava';
3-
import {outputFile, readFile} from 'fs-extra';
4-
import {stub} from 'sinon';
5-
import clearModule from 'clear-module';
6-
import tempy from 'tempy';
1+
const path = require('path');
2+
const test = require('ava');
3+
const {outputFile, readFile} = require('fs-extra');
4+
const {stub} = require('sinon');
5+
const clearModule = require('clear-module');
6+
const tempy = require('tempy');
77

88
test.beforeEach(t => {
99
// Clear npm cache to refresh the module state

test/prepare.test.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import path from 'path';
2-
import test from 'ava';
3-
import {outputFile, readFile} from 'fs-extra';
4-
import {stub} from 'sinon';
5-
import tempy from 'tempy';
6-
import prepare from '../lib/prepare';
1+
const path = require('path');
2+
const test = require('ava');
3+
const {outputFile, readFile} = require('fs-extra');
4+
const {stub} = require('sinon');
5+
const tempy = require('tempy');
6+
const prepare = require('../lib/prepare');
77

88
test.beforeEach(t => {
99
// Stub the logger

test/verify.test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import test from 'ava';
2-
import verify from '../lib/verify';
1+
const test = require('ava');
2+
const verify = require('../lib/verify');
33

44
test('Verify String "changelogFile" and "chagngelogTitle"', t => {
55
const changelogFile = 'docs/changelog.txt';

0 commit comments

Comments
 (0)