Skip to content

Commit

Permalink
fix: added the name property to match the rollup plugin interface
Browse files Browse the repository at this point in the history
(added test to trigger a release)
  • Loading branch information
alfredo.salzillo committed May 19, 2021
1 parent fd088b6 commit 19c1e48
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/plugin.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ const generateOutputFileNames = (options) => generateBundle(options)
.then(({ output }) => output.map((module) => module.fileName).sort());

describe('rollup-plugin-multi-input', () => {
it('should have name rollup-plugin-multi-input', async () => {
const plugin = multiInput({ relative: './test' });
expect('name' in plugin).toBeTruthy();
expect(plugin.name).toBe('rollup-plugin-multi-input');
});
it('should resolve glob', async () => {
const outputFiles = await generateOutputFileNames({
input: ['test/fixtures/**/*.js'],
Expand Down

0 comments on commit 19c1e48

Please sign in to comment.