-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixing styles and excess dependencies
- Loading branch information
1 parent
2ca52b7
commit 91d4af8
Showing
7 changed files
with
37 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
**/*{.,-}min.js | ||
/public | ||
/config/** | ||
registerServiceWorker.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
const rewireReactHotLoader = require('react-app-rewire-hot-loader') | ||
const rewireReactHotLoader = require('react-app-rewire-hot-loader'); | ||
|
||
/* config-overrides.js */ | ||
module.exports = function override (config, env) { | ||
config = rewireReactHotLoader(config, env) | ||
return config | ||
module.exports = function override(config, env) { | ||
const newConfig = rewireReactHotLoader(config, env); | ||
return newConfig; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import React from 'react'; | ||
import { expect } from 'chai'; | ||
import { shallow } from 'enzyme'; | ||
|
||
import Auth from './Auth.jsx'; | ||
|
||
describe('Auth.jsx', () => { | ||
it('Changes tabs', () => { | ||
const authTest = shallow(<Auth authCancelled={() => {}} />); | ||
authTest.instance().handleTabChange(1); | ||
expect(authTest.state().index).to.equal(1); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters