babel-plugin-transform-jsx-stylesheet
Advanced tools
Comparing version 0.1.12 to 0.2.0
{ | ||
"name": "babel-plugin-transform-jsx-stylesheet", | ||
"version": "0.1.12", | ||
"version": "0.2.0", | ||
"description": "Transform stylesheet selector to style in JSX Elements.", | ||
@@ -5,0 +5,0 @@ "license": "BSD-3-Clause", |
import jSXStylePlugin from '../index'; | ||
import syntaxJSX from 'babel-plugin-syntax-jsx'; | ||
import { transform } from 'babel-core'; | ||
@@ -21,3 +22,3 @@ | ||
return transform(code, { | ||
plugins: [jSXStylePlugin, 'syntax-jsx'] | ||
plugins: [jSXStylePlugin, syntaxJSX] | ||
}).code; | ||
@@ -127,5 +128,5 @@ } | ||
}`; | ||
expect(getTransfromCode(code)).toBe(code); | ||
}); | ||
}); |
16205
348