Skip to content

Commit

Permalink
test: oops, fix test case description
Browse files Browse the repository at this point in the history
  • Loading branch information
usualoma committed May 4, 2024
1 parent 456a10d commit 35aa726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vite/island-components.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export { utilityFn, WrappedExportViaVariable as default };`
'MAX_LENGTH', // all capital with underscore (constant)
'M', // single capital (constant)
'M1', // single capital with number (constant)
])('Should transform %s as component name', (name) => {
])('Should not transform %s as component name', (name) => {
const code = codeTemplate.replace('%s', name)
const result = transformJsxTags(code, `${name}.tsx`)
expect(result).toBe(code)
Expand Down

0 comments on commit 35aa726

Please sign in to comment.