You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'* A bug fix PR ([@wyze](https://github.com/wyze) in [#1](https://github.com/wyze/a-fixture/pull/1))\n* Initial Commit ([@wyze](https://github.com/wyze) in [65578dd](https://github.com/wyze/a-fixture/commit/65578dd))',
52
+
'* A bug fix PR ([@wyze](https://github.com/wyze) in [#1](https://github.com/wyze/a-fixture/pull/1))\n* Initial Commit ([@wyze](https://github.com/wyze) in [65578dd](https://github.com/wyze/a-fixture/commit/65578dd))\n\nhttps://github.com/wyze/a-fixture/compare/0a1b2c3...v1.0.0',
42
53
tag_name: 'v1.0.0',
43
54
},
44
55
})
45
56
})
57
+
58
+
it('creates second github release',async()=>{
59
+
execa.mockImplementation()
60
+
61
+
readPkg.mockResolvedValue({
62
+
name: 'a-fixture',
63
+
version: '2.0.0',
64
+
license: 'MIT',
65
+
repository: {
66
+
type: 'git',
67
+
url: 'git+https://github.com/wyze/a-fixture.git',
68
+
},
69
+
})
70
+
71
+
ghGot.mockImplementation()
72
+
73
+
fs.readFile
74
+
// Read changelog
75
+
.mockImplementationOnce((_,cb)=>
76
+
cb(
77
+
null,
78
+
'## Change Log\n\n### [v2.0.0](https://github.com/wyze/a-fixture/releases/tag/v2.0.0) (2019-05-05)\n\n* A breaking change ([@wyze](https://github.com/wyze) in [#2](https://github.com/wyze/a-fixture/pull/2))\n\n### [v1.0.0](https://github.com/wyze/a-fixture/releases/tag/v1.0.0) (2017-05-05)\n\n* A bug fix PR ([@wyze](https://github.com/wyze) in [#1](https://github.com/wyze/a-fixture/pull/1))\n* Initial Commit ([@wyze](https://github.com/wyze) in [65578dd](https://github.com/wyze/a-fixture/commit/65578dd))\n\n'
'* A breaking change ([@wyze](https://github.com/wyze) in [#2](https://github.com/wyze/a-fixture/pull/2))\n\nhttps://github.com/wyze/a-fixture/compare/v1.0.0...v2.0.0',
0 commit comments