Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
152 commits
Select commit Hold shift + click to select a range
e484c87
Initial setup - Contains a bunch of staff and misses a lot of it
birdofpreyru Mar 17, 2017
5a9016e
Hot reload in Dev environment + Misc changes
birdofpreyru Mar 17, 2017
62137b6
Adds react-router + misc fixes
birdofpreyru Mar 18, 2017
2849228
Redux setup (with some staff pending) + Misc fixes
birdofpreyru Mar 18, 2017
e4f438d
TC Auth token + Improved handling of isomorphic Redux store and config
birdofpreyru Mar 22, 2017
ebe5a27
Added example of data fetching using Redux, etc. with and without sup…
birdofpreyru Mar 23, 2017
e91a49a
Fix of Redux store initialization in prod
birdofpreyru Mar 23, 2017
3adc294
Service for Topcoder API v2 and v3. Proper authentication handling.
birdofpreyru Mar 23, 2017
3662382
Styles from tc-ui + few example + updated README.md
birdofpreyru Mar 24, 2017
3a123ae
Fix of code style in Topcoder styles copied from tc-ui
birdofpreyru Mar 24, 2017
fb34582
Support of standard Topcoder fonts (Roboto)
birdofpreyru Mar 25, 2017
b73973b
Autoprefixer
birdofpreyru Mar 25, 2017
4b9bfcb
Aliases for main folder of the project, to avoid complex relative paths
birdofpreyru Mar 25, 2017
c9f96cf
Submission Management Page (front end, not wired to the backend yet)
birdofpreyru Mar 25, 2017
97e205f
A note on reducer factories
birdofpreyru Mar 26, 2017
49dd259
Unit testing with Jest
birdofpreyru Mar 28, 2017
6500518
HMR - Hot Module Replacement
birdofpreyru Apr 2, 2017
872d251
Winning Submission: Submission Management Page - Connection to the ba…
birdofpreyru Apr 10, 2017
ba5b0ab
Update of the repo's content page
birdofpreyru Apr 10, 2017
5afa9e5
A few minor fixed related to Submission Management Page
birdofpreyru Apr 12, 2017
9606802
Minor changes in Submission Management Page
birdofpreyru Apr 14, 2017
ed2a9e7
HMR-related fixes
birdofpreyru Apr 14, 2017
1607ca7
Support of server-side rendering of Submission Management Page
birdofpreyru Apr 14, 2017
5dd50e4
Topcoder Header and Footer added to the repo and to the SMP
birdofpreyru Apr 17, 2017
42c4f5c
Submission 517069 by mohhasbias
birdofpreyru Apr 19, 2017
971fbdd
Revised version of F2F changes
birdofpreyru Apr 19, 2017
1c86e85
Merge branch 'code-cleanup' into develop
birdofpreyru Apr 19, 2017
6a56292
Fixes all lint errors + a few minor bugs
birdofpreyru Apr 19, 2017
ec926d5
Unit tests clean-up
birdofpreyru Apr 21, 2017
6884aad
Improved HMR of styles in development environment
birdofpreyru Apr 21, 2017
7a2e5f9
Misc fixes
birdofpreyru Apr 21, 2017
1e5b2bd
init
Apr 21, 2017
6a90e2f
Merge branch 'develop' into feature/deploy
Apr 21, 2017
59c83c1
Further enhancement of unit tests
birdofpreyru Apr 22, 2017
71a84f2
adding dev tools env variable
Apr 21, 2017
f3d273d
Misc changes to support production and development deployment
birdofpreyru Apr 22, 2017
9d3df9d
Merge branch 'develop' into deploy
birdofpreyru Apr 22, 2017
5ef9c68
test1
Apr 22, 2017
4cea6bf
Server-side loading of TC user profile + misc fixes
birdofpreyru Apr 23, 2017
e1be9a0
adding ci/cd
Apr 24, 2017
4eccf61
adding missing files
Apr 24, 2017
7ffb858
updating node version
Apr 24, 2017
201d9ad
fixing cirlce ci
Apr 24, 2017
483404b
fixing cirlce ci
Apr 24, 2017
e2618cc
fixing deploy script
Apr 24, 2017
0dc601b
SMP: Added delete submission functionality + misc fixes
birdofpreyru Apr 24, 2017
94feeec
removing node config
Apr 24, 2017
63efa36
fixing deploy script
Apr 25, 2017
f8ba9c6
Merge branch 'feature/deploy' into develop
Apr 25, 2017
6fc9280
Merge branch 'develop' of https://github.com/topcoder-platform/commun…
Apr 25, 2017
5e9cfc8
updating deploy branch for dev
Apr 25, 2017
ccd34b1
fixing postinstall script for docker builds
Apr 26, 2017
f49c43d
Does restriction of max number of Jest workers helps...
birdofpreyru Apr 26, 2017
2d6ece8
+ Build status badge + Will the build work with 8 Jest workers?
birdofpreyru Apr 26, 2017
c8a63e5
Absolute URLs in hrefs to avoid problems with navigation...
birdofpreyru Apr 27, 2017
f4a00cb
Winning submission: Listing of Relevant Challenges
birdofpreyru Apr 29, 2017
51ad4a7
Included verification guide from the winning submission
birdofpreyru Apr 29, 2017
5cacaa9
Merge branch 'challenge-listing-port' into develop
birdofpreyru Apr 29, 2017
9257ac9
Removed unit test coverage threshold
birdofpreyru Apr 29, 2017
44af003
A small improvement of Webpack configs
birdofpreyru May 3, 2017
9f86874
Webpack config enhancement for (S)CSS processing
birdofpreyru May 4, 2017
b84af6c
Fix: Unnecessary code in dev Webpack config
birdofpreyru May 8, 2017
0be51b3
Playing with DraftJS
birdofpreyru May 9, 2017
150a0bc
Winning Submission: Landing / Marketing Page Editor
birdofpreyru May 10, 2017
35ac309
Fix: ESLint and Jest errors
birdofpreyru May 10, 2017
12615cb
Merge branch 'challenge/editor' into develop
birdofpreyru May 10, 2017
af0aa09
Merge: Landing / Marketing Page Editor (challenge winner)
birdofpreyru May 10, 2017
f5affb0
Added notes from the winning submission of the editor challenge
birdofpreyru May 10, 2017
037979d
Preliminary Winner: Header
birdofpreyru May 10, 2017
b5ea5ec
Merge branch 'challenge/header' into develop
birdofpreyru May 10, 2017
3c6c75e
Preliminary Winner: Leaderboard
JeremFort May 8, 2017
2d261a7
Added submission notes into the repo
birdofpreyru May 10, 2017
baaf4f5
Merge branch 'challenge/leaderboard' into develop
birdofpreyru May 10, 2017
6c16b95
Fix: Preliminary winner of Header challenge
birdofpreyru May 10, 2017
c18e280
Test/Demo of react-css-themr
birdofpreyru May 10, 2017
68009f6
Replaces react-with-styles by react-css-themr + update of themr setup
birdofpreyru May 11, 2017
bea1b40
Jest upgrade to version 20
birdofpreyru May 11, 2017
d0e27b1
Small fix of leaderboard server-side rendering
birdofpreyru May 11, 2017
0367c92
Fix of unit-tests for Avatar component
birdofpreyru May 13, 2017
713b627
Last version of react-css-themr is explicitely written to package.json
birdofpreyru May 13, 2017
8c6c5b8
Fix: Themr support in server-side rendering
birdofpreyru May 15, 2017
cf6366a
Fix: The previous commit broke styles bundling, this one gonna fix it
birdofpreyru May 15, 2017
c478895
Preliminary Winner: Topcoder Communities - First Assembly
birdofpreyru May 17, 2017
31c23c0
Merge branch 'develop' into challenge/wipro-community-first-assembly
birdofpreyru May 17, 2017
187ce06
Added notes from the preliminary winner of the latest challenge
birdofpreyru May 17, 2017
71210d4
Fix: A tiny misprint in the last commit
birdofpreyru May 17, 2017
821325f
Misc fixes
birdofpreyru May 17, 2017
88c01ea
adding timeout to deploy
May 18, 2017
93cca41
wip
May 18, 2017
cec6cf9
Drops out experimental editor-related code
birdofpreyru May 19, 2017
e13df05
Merge remote-tracking branch 'origin/develop' into develop
birdofpreyru May 19, 2017
db7069c
Unit tests update
birdofpreyru May 19, 2017
1d83336
Styles/fonts for Wipro community embed into the repo
birdofpreyru May 19, 2017
47be3ee
fixing ci-cd to work with ECS cluster
May 19, 2017
0123c5f
fixes #33
May 19, 2017
377e904
Misc fixes of Wipro Community Prototype
birdofpreyru May 20, 2017
a8a1471
Merge remote-tracking branch 'origin/feature/ci-cd-deploy' into develop
birdofpreyru May 20, 2017
16856c3
Revert "Merge remote-tracking branch 'origin/feature/ci-cd-deploy' in…
birdofpreyru May 20, 2017
b94f634
Small fixes of TC Communities header
birdofpreyru May 20, 2017
89c1752
fixing circle command
May 21, 2017
7d84812
Merge branch 'feature/ci-cd-deploy' into develop
May 22, 2017
d3bce9b
merging develop
May 22, 2017
7c72339
updating build for prod deploys
May 22, 2017
98713cf
adding docker service dep for circle
May 22, 2017
1397761
Log in button at TC communities Access denied page
birdofpreyru May 22, 2017
888aba3
Some refactoring of the Standard Topcoder Header
birdofpreyru May 22, 2017
5f391e0
fixing deploy
May 22, 2017
4e66d04
Merge branch 'develop' of https://github.com/topcoder-platform/commun…
May 22, 2017
8a74073
fixing deploy
May 22, 2017
e07af98
Switch ecs -> ecr in circle.yml to match aws URI
mtwomey May 23, 2017
d71a74f
fixing deploy
May 23, 2017
236fe05
disabling dev tools in topcoder-dev.com env
May 23, 2017
ca286ba
testing deploy
May 23, 2017
50941e7
changing filter
ajefts May 24, 2017
adce9f1
added tracking code for segment and google
ajefts May 25, 2017
86fcc16
updated member domain
ajefts May 25, 2017
de87afe
Added user sub-menu (Settings/Log out) to TC Communities header (desk…
birdofpreyru May 26, 2017
49e1b94
Misc changes to prepare for sub-domain based routing
birdofpreyru May 26, 2017
46913aa
Merge remote-tracking branch 'origin/develop' into develop
birdofpreyru May 26, 2017
8d85a23
Revert "Misc changes to prepare for sub-domain based routing"
birdofpreyru May 26, 2017
6727418
Misc changes to support sub-domain-based routing
birdofpreyru May 26, 2017
d7e8e9a
User groups support
birdofpreyru May 26, 2017
967f504
TC Communities - Group-based authorization control
birdofpreyru May 26, 2017
9d0924a
Update circleci for dev / prod deployments to different regions
mtwomey May 26, 2017
fe9e57f
Updates ESLint and related packages to the latest versions
birdofpreyru May 26, 2017
8f4412e
Merge remote-tracking branch 'origin/develop' into develop
birdofpreyru May 26, 2017
7209c57
Update circleci for different cluster names in dev and prod
mtwomey May 26, 2017
c8d73f5
Fixes authentication logic to ensure proper logout
birdofpreyru May 27, 2017
0a2dd58
Challenge: New design implementation
birdofpreyru May 30, 2017
684531b
No need for a separate REGISTER var in config
birdofpreyru May 30, 2017
8885fab
Added user sub-menu (Settings/Log out) to TC Communities header (desk…
birdofpreyru May 26, 2017
f9fcece
Misc changes to prepare for sub-domain based routing
birdofpreyru May 26, 2017
d5c0300
added tracking code for segment and google
ajefts May 25, 2017
ccc1195
updated member domain
ajefts May 25, 2017
61693b9
Revert "Misc changes to prepare for sub-domain based routing"
birdofpreyru May 26, 2017
d62ff27
Misc changes to support sub-domain-based routing
birdofpreyru May 26, 2017
c8a2c62
User groups support
birdofpreyru May 26, 2017
1a9bdfc
TC Communities - Group-based authorization control
birdofpreyru May 26, 2017
718d0f2
Updates ESLint and related packages to the latest versions
birdofpreyru May 26, 2017
6b823af
Update circleci for dev / prod deployments to different regions
mtwomey May 26, 2017
c1756f4
Update circleci for different cluster names in dev and prod
mtwomey May 26, 2017
d7365cc
Fixes authentication logic to ensure proper logout
birdofpreyru May 27, 2017
f62a1b1
Merge branch 'challenge/NewDesignImplementation' into develop
birdofpreyru May 30, 2017
d47fbc6
Misc fixes
birdofpreyru May 30, 2017
d6a3592
A few small fixes
birdofpreyru May 30, 2017
eadd515
Additional update to deploy.sh for dev / prod deployment
mtwomey May 30, 2017
4998725
adding content
ajefts May 30, 2017
e5e2113
Merge pull request #37 from topcoder-platform/tony-content-updates
ajefts May 30, 2017
2597370
fixing tests
ajefts May 30, 2017
58b991c
Merge pull request #38 from topcoder-platform/tony-content-updates
ajefts May 30, 2017
d20e90c
fix for login retUrl
ajefts May 30, 2017
eb388b2
fix for login retUrl
ajefts May 30, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
24 changes: 24 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// Babel config for NodeJS (server-side). Frontend Babel configuration is embed
// inside Webpack config.
{
"presets": ["env", "react", "stage-2"],
"plugins": [
["css-modules-transform", {
"extensions": [".css", ".scss"],
"generateScopedName": "[path]___[name]__[local]___[hash:base64:5]"
}],
"inline-react-svg",
["module-resolver", {
"extensions": [".js", ".jsx"],
"root": [
"./src/shared",
"./src"
]
}],
["react-css-modules", {
"filetypes": {
".scss": "postcss-scss"
}
}]
]
}
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
__coverage__/
node_modules/
.git/
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
__coverage__
build
node_modules
8 changes: 8 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "airbnb",
"settings": {
"import/resolver": {
"babel-module": {}
}
}
}
14 changes: 13 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ pids
lib-cov

# Coverage directory used by tools like istanbul
__coverage__
coverage

# nyc test coverage
Expand All @@ -24,7 +25,7 @@ coverage
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release
build

# Dependency directories
node_modules
Expand All @@ -35,3 +36,14 @@ jspm_packages

# Optional REPL history
.node_repl_history

# Elastic Beanstalk Files
.elasticbeanstalk/*
!.elasticbeanstalk/*.cfg.yml
!.elasticbeanstalk/*.global.yml

# macOS system files
*.DS_Store

# Misc files
.vscode
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v6.10.2
8 changes: 8 additions & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "stylelint-config-standard",
"rules": {
"selector-pseudo-class-no-unknown": [true, {
"ignorePseudoClasses": ["global"]
}]
}
}
19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM node:6.10.2
LABEL version="1.0"
LABEL description="Community App"

# Create app directory
RUN mkdir -p /opt/app
ADD package.json /opt/app/package.json
WORKDIR /opt/app
RUN npm install

ADD . /opt/app

ARG BUILD_ENV=prod
ENV NODE_ENV=$BUILD_ENV
RUN npm run build

EXPOSE 3000

CMD ["npm", "start"]
105 changes: 103 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,103 @@
# community-app
React webapp for serving Topcoder Community
![Dev Build Status](https://img.shields.io/circleci/project/github/topcoder-platform/community-app/develop.svg?label=develop)

# Topcoder Community App
New version of Topcoder Community website.

### Deployment and Execution

*Disclaimer:* Current instructions are biased towards Ubuntu 16.04. Hovewer, similar recipies should work for other OS. Should you encounter and overcome any tricky issues on other OS, you are welcome to add notes/hints into this file.

1. You should have NodeJS 6.10.0 (other recent versions should also work fine);

2. Install dependencies with one of the following commands:
- `$ npm install` Installs all dependencies. Recommended for local development;
- `$ npm install --production` Installs only production dependencies. These include all you need to run linters & unit tests, to build & run production version of the App. Does not include additional development tools.

3. Run linters and unit tests with following commands:
- `$ npm run lint:js` Runs ESLint (AirBnB style);
- `$ npm run lint:scss` Runs Stylelint (standard Stylelint style);
- `$ npm run lint` Runs both ESLint and Stylelint;
- `$ npm run jest` Runs unit tests;
- `$ npm run jest -- -u` Runs unit test with update of component snapshots;
- `$ npm test` Runs ESLint, Stylelint and unit tests.

4. Set environment variables:
- `PORT` Specifies the port to run the App at. Defaults to 3000;
- `NODE_ENV` Specifies Topcoder backend to use. Should be either `development` either `production`. Defaults to `production`.

5. To rebuild the App's frontend (initially, it is automatically build as a part of the install step) run one of (the result of build will be output into `/build` folder in both cases):
- `$ npm run build` To rebuild production frontend;
- `$ npm run build:dev` This command should only be used to test whether development build of the front end works. You don't have to execute this command to run development version of the App (the server will automatically build frontend in memory anyway). You can't successfully execute this command without installing dev dependencies.

6. To run the App use:
- `$ npm start` To run the App in normal mode. The frontend will be served from `/build` folder. The Topcoder backend to use will be chosen depending on `NODE_ENV` value;
- `$ npm run dev` To run the App with development tools. In this case the frontend is build in memory by server and uses dev tools like redux-devtools. The Topcoder backend to use will be chosen depending on `NODE_ENV` value. This demands dev dependencies installed at the firts step.

If you run the App locally against development Topcoder backend you should access the App as `local.topcoder-dev.com:3000`. Prior doing this you should add into your `/etc/hosts` the line `127.0.0.1 local.topcoder-dev.com:3000`. To login into development Topcoder backend use `accounts.topcoder-dev.com/members` to login. Log out at `www.topcoder-dev.com`, or just wipe out auth cookies.

If you run the App locally against production Topcoder backend you should run it at the port 80 and access the App as `local.topcoder.com`. Prior doing this you should add into your `/etc/hosts` the line `127.0.0.1 local.topcoder.com`. The easiest way to allow the App to listen at the port 80 on Ubuntu 16.04 is (no guarantees, how safe is it):
- `$ sudo apt install libcap2-bin`;
- `$ which node` to figure out your `path/to/node`;
- `$ sudo setcap cap_net_bind_service=+ep /path/to/node`;
- Now you can run the App.
To login into production Topcoder backend use `accounts.topcoder.com/members` with your regular account, and to logout you can just wipe out cookies, or just log out at `www.topcoder.com`.

Development dependencies include StyleFMT. You can execute `$ npm run fix:styles` to automatically correct you stylesheets to comply with Stylelint rules (but it can fail for some rules).
To automatically correct js files, you can use `npm run fix:js`.

### Development Notes
- [Challenge Listing - Notes from winning submission](docs/challenge-listing-notes.md)
- [Leaderboard - Notes from the winning submission](docs/leaderboard-notes.md)
- [Wipro Community - Notes from the preliminary winning submission](docs/wipro-community.md)
- [Why Reducer Factories and How to Use Them?](docs/why-reducer-factories-and-how-to-use-them.md)
- [~~WYSIWYG Page Editor - Notes from the winning submission~~](docs/editor-notes.pdf)

### Current Status

*Note:* Server-side rendering is supported. It means, if you go to `/src/server/App.jsx` and remove the line `<_script type="application/javascript" src="/bundle.js"></script>`, which loads JS bundle in the page, when you start the App and load any page, you'll still see a properly rendered page (without any interactivity). It means that loading of JS bundle and initialization of ReactJS do not block the proper rendering of the page.

*Setup of this App is not finished yet. Here is a brief summary of current configuration and problems found on the way.*

This App already contains:
- A high-level draft of isomorphic App structure;
- A dummy client App;
- A set of general Topcoder stylesheets in `/src/styles`;
- Autoprefixer;
- Babel with latest JS support both client- and server-side;
- ESLint (AirBnB style);
- Express server;
- Font loading (Roboto fonts are included into the repo);
- Hot Module Replacement for JS code and SCSS styles in dev environment;
- Isomorphic fetch and Topcoder API Auth;
- Loading of .svg assets as ReactJS components with babel-plugin-inline-react-svg
- Node-Config;
- React;
- React CSS Modules (via Babel plugin);
- [react-css-themr](https://github.com/javivelasco/react-css-themr);
- React Router;
- Redux with Flux Standard Actions, redux-promise middleware, support of server-side rendering, and DevTools for dev environment;
- SCSS support;
- CSS support for third party modules;
- StyleFMT;
- Stylelint for scss (standard Stylelint style);
- Unit testing with Jest;
- Various examples;
- Webpack;

Pending low-priority stuff (these are important, but can be added along the way):
- Webpack Dashboard (https://github.com/FormidableLabs/webpack-dashboard);

### CI / CD
Deploy scripts are setup to use AWS ECS + CircleCI. Make sure the following environment variables are setup in CircleCI:
* AWS_ECS_SERVICE
* AWS_REPOSITORY
* DEV_AWS_ACCESS_KEY_ID
* DEV_AWS_ACCOUNT_ID
* DEV_AWS_ECS_CLUSTER
* DEV_AWS_REGION
* DEV_AWS_SECRET_ACCESS_KEY
* PROD_AWS_ACCESS_KEY_ID
* PROD_AWS_ACCOUNT_ID
* PROD_AWS_ECS_CLUSTER
* PROD_AWS_REGION
* PROD_AWS_SECRET_ACCESS_KEY
9 changes: 9 additions & 0 deletions __mocks__/redux-devtools-dock-monitor.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/**
* Mock redux-devtools-dock-monitor module.
* Allows to test development-only code depending on that module even
* in production environment, where that module is not installed.
*/

export default function ReduxDevtoolsDockMonitor() {
return null;
}
3 changes: 3 additions & 0 deletions __mocks__/redux-devtools-log-monitor.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default function ReduxDevtoolsLogMonitor() {
return null;
}
9 changes: 9 additions & 0 deletions __mocks__/redux-devtools.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import _ from 'lodash';

export function createDevTools(obj) {
const res = () => obj;
res.instrument = _.noop;
return res;
}

export default undefined;
5 changes: 5 additions & 0 deletions __mocks__/webpack-dev-middleware.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
function webpackDevMiddleware(req, res, next) {
if (next) next();
}

module.exports = () => webpackDevMiddleware;
5 changes: 5 additions & 0 deletions __mocks__/webpack-hot-middleware.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
function webpackHotMiddleware(req, res, next) {
if (next) next();
}

module.exports = () => webpackHotMiddleware;
3 changes: 3 additions & 0 deletions __mocks__/webpack.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import _ from 'lodash';

module.exports = _.noop;
12 changes: 12 additions & 0 deletions __tests__/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"env": {
"jest/globals": true
},
"plugins": [
"jest"
],
"rules": {
"global-require": 0,
"import/no-dynamic-require": 0
}
}
18 changes: 18 additions & 0 deletions __tests__/client/__snapshots__/index.jsx.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Properly starts with process.env.FRONT_ENV evaluating true Renders proper code (matching snapshot) 1`] = `
<div>
<h1>
Mock react-redux Provider
</h1>
<div>
<h1>
Mock react-router-dom BrowserRouter
</h1>
Mock Browser History
<div>
Application
</div>
</div>
</div>
`;
Loading