File tree Expand file tree Collapse file tree
es6-babel-react-flux-karma Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,6 +2,6 @@ import './dependencies';
22import * as React from 'react' ;
33import * as ReactDOM from 'react-dom' ;
44import App from './components/App' ;
5- const __react = React ; // only in place to prevent React being purged from dependencies as not used directly
5+ React ; // use React as an expression to prevent React being purged from dependencies as not used directly
66
77ReactDOM . render ( < App /> , document . getElementById ( 'content' ) ) ;
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import App from '../../src/components/App';
44import WhoToGreet from '../../src/components/WhoToGreet' ;
55import Greeting from '../../src/components/Greeting' ;
66import GreetingStore from '../../src/stores/GreetingStore' ;
7- const __react = React ; // only in place to prevent React being purged from dependencies as not used directly
7+ React ; // use React as an expression to prevent React being purged from dependencies as not used directly
88
99describe ( 'App' , ( ) => {
1010 it ( 'renders expected HTML' , ( ) => {
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import * as React from 'react';
22import * as TestUtils from 'react-addons-test-utils' ;
33import Greeting from '../../src/components/Greeting' ;
44import * as GreetingActions from '../../src/actions/GreetingActions' ;
5- const __react = React ; // only in place to prevent React being purged from dependencies as not used directly
5+ React ; // use React as an expression to prevent React being purged from dependencies as not used directly
66
77describe ( 'Greeting' , ( ) => {
88 let handleSelectionChangeSpy : jasmine . Spy ;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import * as React from 'react';
22import * as TestUtils from 'react-addons-test-utils' ;
33import WhoToGreet from '../../src/components/WhoToGreet' ;
44import * as GreetingActions from '../../src/actions/GreetingActions' ;
5- const __react = React ; // only in place to prevent React being purged from dependencies as not used directly
5+ React ; // use React as an expression to prevent React being purged from dependencies as not used directly
66
77describe ( 'WhoToGreet' , ( ) => {
88 let handleSelectionChangeSpy : jasmine . Spy ;
You can’t perform that action at this time.
0 commit comments