Skip to content

Commit 44ab0c1

Browse files
authored
Merge pull request #142 from jsagardoy/master
New Changes to
2 parents 869bcc3 + 594b5f5 commit 44ab0c1

94 files changed

Lines changed: 11821 additions & 1890 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

08 ParamNavigation/src/router.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from 'react';
2-
import { Route, BrowserRouter as Router, Switch } from 'react-router-dom';
2+
import { Route, HashRouter as Router, Switch } from 'react-router-dom';
33
import { App } from './app';
44
import { About, MembersPage, MemberPageContainer } from './components';
55

09 Redux/src/router.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from 'react';
2-
import { Route, BrowserRouter as Router, Switch } from 'react-router-dom';
2+
import { Route, HashRouter as Router, Switch } from 'react-router-dom';
33
import { App } from './app';
44
import { About, MembersPageContainer, MemberPageContainer } from './components';
55
import { Provider } from 'react-redux';

10 LoaderSpinner/src/router.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from 'react';
2-
import { Route, BrowserRouter as Router, Switch } from 'react-router-dom';
2+
import { Route, HashRouter as Router, Switch } from 'react-router-dom';
33
import { App } from './app';
44
import { About, MembersPageContainer, MemberPageContainer } from './components';
55
import { Provider } from 'react-redux';

11 TestReducer/.babelrc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"presets": [
3+
[
4+
"env",
5+
{
6+
"modules": false
7+
}
8+
]
9+
],
10+
"plugins": [
11+
"emotion"
12+
]
13+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"rootDir": "../../",
3+
"testRegex": "\\.spec\\.tsx?$",
4+
"moduleFileExtensions": [
5+
"js",
6+
"jsx",
7+
"json",
8+
"ts",
9+
"tsx"
10+
],
11+
"setupFiles": [
12+
"<rootDir>/config/test/polyfills.js"
13+
],
14+
"testURL": "http://localhost/",
15+
"transform": {
16+
".tsx?": "<rootDir>/node_modules/ts-jest/preprocessor.js"
17+
},
18+
"restoreMocks": true
19+
20+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// Polyfill requestAnimationFrame required by React >=16.0.0
2+
require('raf/polyfill');

11 TestReducer/karma.conf.js

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)