Skip to content

Commit 76f4ca2

Browse files
committed
Test: Template literal interpolation is not currently supported, resolved #376
1 parent be9b16b commit 76f4ca2

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import React from 'react'
2+
3+
export default function Componennt() {
4+
const a = 'hello'
5+
const b = 3
6+
return (
7+
<div className={`block text:center font:italic fg:#${a || 'block'} text:16 m:${b}`}> </div>
8+
)
9+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import rule from '../../../src/rules/class-order'
2+
import { jsxTester, source } from '../../testers'
3+
4+
jsxTester.run('order', rule, {
5+
valid: [
6+
source('1.input.tsx', import.meta.url)
7+
],
8+
invalid: []
9+
})

0 commit comments

Comments
 (0)