Skip to content

Commit

Permalink
test: add more test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Nov 2, 2021
1 parent b2a5fd0 commit 8ba7c25
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/chunking-form/samples/sanitize-chunk-names/_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
plugins: [
{
options(options) {
options.input = ['\0virtual:entry-1', '\0virtual:entry-2'];
options.input = ['\0virtual:entry-1', '\0virtual:entry-2', 'another-[slug]-#result'];
return options;
},
resolveId(id) {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
define((function () { 'use strict';

var another__slug___result = "another-[slug]-#result";

return another__slug___result;

}));
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'use strict';

var another__slug___result = "another-[slug]-#result";

module.exports = another__slug___result;
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
var another__slug___result = "another-[slug]-#result";

export { another__slug___result as default };
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
System.register([], (function (exports) {
'use strict';
return {
execute: (function () {

var another__slug___result = exports('default', "another-[slug]-#result");

})
};
}));

0 comments on commit 8ba7c25

Please sign in to comment.