Skip to content

Commit

Permalink
Improve coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastaegert committed Sep 22, 2022
1 parent 9fee6ab commit 04bd4f9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test/function/samples/generate-bundle-mutation/_config.js
@@ -0,0 +1,15 @@
module.exports = {
description: 'handles adding or deleting symbols in generateBundle',
options: {
plugins: [
{
name: 'test',
generateBundle(options, bundle) {
const myKey = Symbol('test');
bundle[myKey] = 42;
delete bundle[myKey];
}
}
]
}
};
1 change: 1 addition & 0 deletions test/function/samples/generate-bundle-mutation/main.js
@@ -0,0 +1 @@
assert.ok(true);

0 comments on commit 04bd4f9

Please sign in to comment.