Skip to content

Commit

Permalink
fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
vwillyams committed Oct 23, 2024
1 parent cb7e496 commit e852af0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/lib/rules/no-multi-comp.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const EXPORT_TYPES_VALID = [
(compOne, compOneName, compTwo, compTwoName, exportRename) => `
${compOne(compOneName)}
${compTwo(compTwoName)}
module.exports = { ${compOneName} as ${exportRename} }`, // module export with rename, post declaration
module.exports = { ${exportRename} : ${compOneName} }`, // module export with rename, post declaration
// nb: module export at declaration time will be handled separately
// POST DECLARATION EXPORTS
(compOne, compOneName, compTwo, compTwoName) => `
Expand All @@ -100,7 +100,7 @@ const EXPORT_TYPES_VALID = [
(compOne, compOneName, compTwo, compTwoName, exportRename) => `
${compOne(compOneName)}
${compTwo(compTwoName)}
module.exports = { ${compOneName} as ${exportRename} }`, // module export with rename, post declaration
module.exports = { ${exportRename} : ${compOneName} }`, // module export with rename, post declaration
(compOne, compOneName, compTwo, compTwoName) => `
${compOne(compOneName)}
${compTwo(compTwoName)}
Expand Down

0 comments on commit e852af0

Please sign in to comment.