Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Commit 37c2b21

Browse files
Custom hooks - March 1 (#75)
* Made DashRenderer standalone with hooks argument DashRenderer is now a class that can be called with an optional hooks argument * Tests for DashRenderer with custom hooks * Remove console.logs * Add request and response parameters to hooks * Use dash-0.26.4 tarball for now * Clean up DashRenderer class * Remove JSON.Stringify() from request_pre payload parameter * Replace typeof with Ramda's type * ⚡ then() * Update type check for Ramda's type() * Check if hooks are set or empty before hydrating * Fire setHooks in AppContainer instead * Cleanup * Fixed tests with new Dash tar containing standalone dash-renderer * Favour dash egg over tarball :egg * Remove unneeded call_count from test * Fix test with input clear() issue * prettier & rebuild * lint with both eslint and prettier * Update test with payload param and add proptypes instead of type checking * Prettier fix * Fire post before dispatches that use data.response * Update test with response data * Fix formatting * Fix formatting * Fix request hooks test
1 parent 63e3bdf commit 37c2b21

18 files changed

+1405
-1521
lines changed

.circleci/config.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,10 @@ jobs:
4545
- "node_modules"
4646

4747
- run:
48-
name: Npm lint
49-
command: npm run lint
48+
name: Lint & format
49+
command: |
50+
npm run lint:test
51+
npm run format:test
5052
5153
- run:
5254
name: Run tests
@@ -76,4 +78,4 @@ workflows:
7678
jobs:
7779
- "python-2.7"
7880
- "python-3.6"
79-
- "python-3.7"
81+
- "python-3.7"

0 commit comments

Comments
 (0)