Skip to content

Commit

Permalink
fix test: "set-asset-source-chunk: throws when trying to set the asse…
Browse files Browse the repository at this point in the history
…t source of a chunk"
  • Loading branch information
dnalborczyk committed Jan 30, 2022
1 parent dee8021 commit 1bab075
Showing 1 changed file with 1 addition and 4 deletions.
@@ -1,5 +1,3 @@
const path = require('path');

module.exports = {
description: 'throws when trying to set the asset source of a chunk',
options: {
Expand All @@ -16,7 +14,6 @@ module.exports = {
hook: 'buildStart',
message: 'Asset sources can only be set for emitted assets but "6c87f683" is an emitted chunk.',
plugin: 'test-plugin',
pluginCode: 'VALIDATION_ERROR',
watchFiles: [path.join(__dirname, 'chunk.js')]
pluginCode: 'VALIDATION_ERROR'
}
};

0 comments on commit 1bab075

Please sign in to comment.