diff options
author | Nathan Fritz <fritzy@github.com> | 2022-03-02 18:39:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-02 18:39:33 +0300 |
commit | defe79ad6f2f4216bf5e0188256c77b49164eb94 (patch) | |
tree | 4ba91a167fe17e16c6789224ed24de32a224eb57 /test/lib | |
parent | 2db3eff44d7bb86b956207cc63d279806fd14ed0 (diff) |
fix: publish of tarballs includes README in packument (#4480)
Diffstat (limited to 'test/lib')
-rw-r--r-- | test/lib/commands/publish.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lib/commands/publish.js b/test/lib/commands/publish.js index 0a7f961bf..0acce8b00 100644 --- a/test/lib/commands/publish.js +++ b/test/lib/commands/publish.js @@ -290,6 +290,7 @@ t.test('can publish a tarball', async t => { name: 'my-cool-tarball', version: '1.2.3', }), + 'README.md': 'This is my readme', }, }) const tar = require('tar') @@ -311,6 +312,9 @@ t.test('can publish a tarball', async t => { { name: 'my-cool-tarball', version: '1.2.3', + readme: 'This is my readme', + description: 'This is my readme', + readmeFilename: 'README.md', }, 'sent manifest to lib pub' ) |