File tree 4 files changed +20
-15
lines changed
4 files changed +20
-15
lines changed Original file line number Diff line number Diff line change 3
3
"description" : " semantic-release plugin to create or update a changelog file" ,
4
4
"version" : " 0.0.0-development" ,
5
5
"author" : " Pierre Vanduynslager (https://github.com/pvdlg)" ,
6
+ "ava" : {
7
+ "files" : [
8
+ " test/**/*.test.js"
9
+ ]
10
+ },
6
11
"bugs" : {
7
12
"url" : " https://github.com/semantic-release/changelog/issues"
8
13
},
17
22
"lodash" : " ^4.17.4"
18
23
},
19
24
"devDependencies" : {
20
- "ava" : " ^2.0 .0" ,
25
+ "ava" : " ^3.1 .0" ,
21
26
"clear-module" : " ^4.0.0" ,
22
27
"codecov" : " ^3.0.0" ,
23
28
"nyc" : " ^15.0.0" ,
Original file line number Diff line number Diff line change 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' ) ;
7
7
8
8
test . beforeEach ( t => {
9
9
// Clear npm cache to refresh the module state
Original file line number Diff line number Diff line change 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' ) ;
7
7
8
8
test . beforeEach ( t => {
9
9
// Stub the logger
Original file line number Diff line number Diff line change 1
- import test from 'ava' ;
2
- import verify from '../lib/verify' ;
1
+ const test = require ( 'ava' ) ;
2
+ const verify = require ( '../lib/verify' ) ;
3
3
4
4
test ( 'Verify String "changelogFile" and "chagngelogTitle"' , t => {
5
5
const changelogFile = 'docs/changelog.txt' ;
You can’t perform that action at this time.
0 commit comments