Skip to content

Commit

Permalink
added in babel plugin for css in jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
dhuang612 committed Oct 3, 2019
1 parent 790291c commit ec58050
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"plugins": [
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-transform-runtime"
"@babel/plugin-transform-runtime",
"styled-jsx/babel"
]
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
"react-dom": "^16.9.0",
"react-linkify": "^0.2.2",
"semver": "^6.3.0",
"styled-jsx": "^3.2.2",
"tempy": "^0.3.0",
"tildify": "^2.0.0",
"tmp": "^0.1.0",
Expand Down Expand Up @@ -182,4 +183,4 @@
]
}
}
}
}
3 changes: 0 additions & 3 deletions test/keyboard-number-input.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ import Adapter from 'enzyme-adapter-react-16';
import KeyboardNumberInput from '../renderer/components/keyboard-number-input';

configure({adapter: new Adapter()});
test('can connect to this page', t => {
t.pass();
});

test('it should render input', t => {
const wrapper = mount(<KeyboardNumberInput/>);
Expand Down
3 changes: 0 additions & 3 deletions test/window-header.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ import Adapter from 'enzyme-adapter-react-16';
import WindowHeader from '../renderer/components/window-header';

configure({adapter: new Adapter()});
test('can connect to this page', t => {
t.pass();
});

test('can mount component window header', t => {
const wrapper = shallow(<WindowHeader/>);
Expand Down

0 comments on commit ec58050

Please sign in to comment.