Commit 5f8cccc 1 parent d2e298f commit 5f8cccc Copy full SHA for 5f8cccc
File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 82
82
dist-tags:
83
83
[1m[32mlatest[39m[22m: 1.0.0
84
84
85
- published [33ma year ago[39m
85
+ published {TIME} ago[39m
86
86
`
87
87
88
88
exports [ `test/lib/view.js TAP should log info of package in current working dir specific version > must match snapshot 1` ] = `
99
99
dist-tags:
100
100
[1m[32mlatest[39m[22m: 1.0.0
101
101
102
- published [33ma year ago[39m
102
+ published {TIME} ago[39m
103
103
`
104
104
105
105
exports [ `test/lib/view.js TAP should log package info package from git > must match snapshot 1` ] = `
302
302
dist-tags:
303
303
[1m[32mlatest[39m[22m: 1.0.0
304
304
305
- published [33ma year ago[39m
305
+ published {TIME} ago[39m
306
306
`
307
307
308
308
exports [ `test/lib/view.js TAP workspaces all workspaces --json > must match snapshot 1` ] = `
Original file line number Diff line number Diff line change 1
1
const t = require ( 'tap' )
2
2
3
+ t . cleanSnapshot = str => str . replace ( / p u b l i s h e d .* ? a g o / g, 'published {TIME} ago' )
4
+
3
5
// run the same as tap does when running directly with node
4
6
process . stdout . columns = undefined
5
7
You can’t perform that action at this time.
0 commit comments