Required Boilerplate - DO NOT SKIP
Showing Components in the App
Tricking React with JSDOM
Verifying Component Existence
Expectations for Component Instances
Expecting the Comment List
Code Reuse with BeforeEach
Asserting Element Existence
Forcing Component Updates
The SaveComment Action Creator
Fetching a Remote Resource
Integration Tests in Action
Faking Requests with Moxios
Introduction to Middlewares
The Purpose of Redux Promise
How Async Middlewares Work
Waiting for Promise Resolution
State Validation Middleware
Introduction to Authentication
Authentication Controller
Encrypting Passwords with Bcrypt
Using Strategies with Passport
Making an Authenticated Request
Signing in with Local Strategy
Purpose of Local Strategy
Note on the Following Lectures
Core Testing - Describe It Expect
Purpose of Describe It and Expect
Using beforeEach to Condense Tests
Testing Controlled Components
Spec Failures After Code Change
Purpose of Chai and Mocha
Finishing RenderComponent Helper
What is a Higher Order Component?
Authentication HOC Overview
Authentication Higher Order Component
Nesting Higher Order Components
Accessing React Router on Context
Higher Order Components Review
Static Users Action Creator
Rendering a List of Users
Handling Unrelated Actions
Component and State Design
Scaffolding the Signin Form
Action Creator with Many Responsibilities
Serverside Solution for CORS
Implementing Validation Logic
Securing Individual Routes
Automatically Authenticating Users
Making Authenticated API Requests
Handling Data from Authenticated Requests