Skip to content

Commit

Permalink
more syntax goofing, should really figure out local test runs
Browse files Browse the repository at this point in the history
  • Loading branch information
vwillyams committed Oct 23, 2024
1 parent e852af0 commit 82ea0aa
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions tests/lib/rules/no-multi-comp.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const EXPORT_TYPES_VALID = [
(compOne, compOneName, compTwo, compTwoName) => `
${compOne(compOneName)}
${compTwo(compTwoName)}
export ${compOneName}`, // export, post declaration
export { ${compOneName} }`, // export, post declaration
(compOne, compOneName, compTwo, compTwoName) => `
${compOne(compOneName)}
${compTwo(compTwoName)}
Expand Down Expand Up @@ -134,12 +134,16 @@ const EXPORT_TYPES_INVALID = [
${compOne(compOneName)}
${compTwo(compTwoName)}
export default ${compOneName}
export ${compTwoName}`, // default export, post declaration
export { ${compTwoName} }`, // default export, post declaration
(compOne, compOneName, compTwo, compTwoName) => `
${compOne(compOneName)}
${compTwo(compTwoName)}
export ${compOneName}
export ${compTwoName}`, // export, post declaration
export { ${compOneName} }
export { ${compTwoName} }`, // export, post declaration
(compOne, compOneName, compTwo, compTwoName) => `
${compOne(compOneName)}
${compTwo(compTwoName)}
export { ${compOneName}, ${compTwoName} }`, // export, post declaration
(compOne, compOneName, compTwo, compTwoName) => `
${compOne(compOneName)}
${compTwo(compTwoName)}
Expand Down

0 comments on commit 82ea0aa

Please sign in to comment.