Improve coverage of plugin.test.ts

Signed-off-by: Erik Engervall <erik.engervall@gmail.com>
This commit is contained in:
Erik Engervall
2021-04-23 00:44:28 +02:00
parent 4101cecb42
commit 5e65ce14ff
@@ -14,10 +14,16 @@
* limitations under the License.
*/
import { gitHubReleaseManagerPlugin } from './plugin';
import * as plugin from './plugin';
describe('github-release-manager', () => {
it('should export plugin', () => {
expect(gitHubReleaseManagerPlugin).toBeDefined();
it('should export plugin & friends', () => {
expect(Object.keys(plugin)).toMatchInlineSnapshot(`
Array [
"githubReleaseManagerApiRef",
"gitHubReleaseManagerPlugin",
"GitHubReleaseManagerPage",
]
`);
});
});