Skip to content

Commit

Permalink
fix(admin-ui): sample testing
Browse files Browse the repository at this point in the history
  • Loading branch information
syntrydy committed Oct 26, 2021
1 parent 30f87b8 commit 53d441b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
"jest": {
"verbose": true,
"testEnvironment": "jsdom",
"setupFiles": ["jest-canvas-mock"],
"setupFiles": [
"jest-canvas-mock"
],
"transform": {
"\\.[jt]sx?$": "babel-jest"
},
Expand Down Expand Up @@ -42,6 +44,7 @@
"scripts": {
"preinstall": "npx npm-force-resolutions",
"test": "NODE_ENV=test jest",
"test:watch": "npm test -- --watch",
"start": "export $(cat .env | xargs) && npm run start:dev",
"build:dev": "node ./build/cli-tools.js --clear dist --create dist && webpack --config ./build/webpack.config.client.dev.js",
"build:prod": "node ./build/cli-tools.js --clear dist --create dist && webpack --config ./build/webpack.config.client.prod.js",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from 'react'
import renderer from 'react-test-renderer'
import { Provider } from 'react-redux'
import { createStore } from "redux";
import ClientListPage from './ClientListPage'
Expand Down

0 comments on commit 53d441b

Please sign in to comment.