File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 8282dist-tags:
8383[1m[32mlatest[39m[22m: 1.0.0
8484
85- published [33ma year ago[39m
85+ published {TIME} ago[39m
8686`
8787
8888exports [ `test/lib/view.js TAP should log info of package in current working dir specific version > must match snapshot 1` ] = `
9999dist-tags:
100100[1m[32mlatest[39m[22m: 1.0.0
101101
102- published [33ma year ago[39m
102+ published {TIME} ago[39m
103103`
104104
105105exports [ `test/lib/view.js TAP should log package info package from git > must match snapshot 1` ] = `
302302dist-tags:
303303[1m[32mlatest[39m[22m: 1.0.0
304304
305- published [33ma year ago[39m
305+ published {TIME} ago[39m
306306`
307307
308308exports [ `test/lib/view.js TAP workspaces all workspaces --json > must match snapshot 1` ] = `
Original file line number Diff line number Diff line change 11const t = require ( 'tap' )
22
3+ t . cleanSnapshot = str => str . replace ( / p u b l i s h e d .* ? a g o / g, 'published {TIME} ago' )
4+
35// run the same as tap does when running directly with node
46process . stdout . columns = undefined
57
You can’t perform that action at this time.
0 commit comments