chore(jest): fix issues with validation and jest

This commit is contained in:
Brandy Carney
2018-06-14 16:22:47 -04:00
parent df3b9bc4cc
commit d94597b858
3 changed files with 2949 additions and 2162 deletions

5102
core/package-lock.json generated
View File

File diff suppressed because it is too large Load Diff

View File

@@ -33,7 +33,7 @@
"@types/jest": "^22.2.3",
"chai": "^4.1.2",
"chromedriver": "^2.38.3",
"jest": "^22.4.3",
"jest": "^23.1.0",
"mocha": "^4.0.1",
"np": "^2.17.0",
"sass-lint": "^1.12.1",
@@ -59,14 +59,14 @@
"prerelease": "npm run validate && np prerelease --yolo --any-branch --tag next",
"set.version": "node scripts/set-version.js",
"snapshot": "node ./scripts/e2e --snapshot",
"test": "jest --no-cache",
"test": "jest",
"test.watch": "jest --watch --no-cache",
"theme-app-build": "stencil build --dev --config scripts/theme-builder/stencil.config.js",
"theme-builder": "sd concurrent \"npm run theme-app-build\" \"stencil build --dev --watch\" \"stencil-dev-server\" \"npm run theme-server\" ",
"theme-builder:dev": "sd concurrent \"npm run theme-app-build -- --watch\" \"stencil build --dev --watch\" \"stencil-dev-server\" \"npm run theme-server\" ",
"theme-server": "node scripts/theme-builder/server.js",
"tsc": "./node_modules/.bin/tsc -p .",
"validate": "npm i && npm run lint && npm run test && npm run build"
"validate": "npm run lint && npm run test && npm run build"
},
"author": "Ionic Team",
"license": "MIT",

View File

@@ -1,4 +1,5 @@
import { RouteChain, RouterIntent } from '../utils/interface';
import { RouterIntent } from '../utils/constants';
import { RouteChain } from '../utils/interface';
import { chainToPath, generatePath, parsePath, readPath, writePath } from '../utils/path';
describe('parseURL', () => {