CircleCI project setup (#138)
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
"prettier": "^2.0.5"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "babel src -d .",
|
||||
"build": "babel src -d . --ignore **/__tests__",
|
||||
"prepare": "cross-env NODE_ENV=production npm run build",
|
||||
"watch": "babel -w src --out-dir . --ignore **/__tests__",
|
||||
"test": "jest"
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
jest.unmock("axios")
|
||||
|
||||
import BrightpearlService from "../brightpearl"
|
||||
import { mockCreateOrder } from "../../utils/brightpearl"
|
||||
import MockAdapter from "axios-mock-adapter"
|
||||
|
||||
Reference in New Issue
Block a user