Skip to content
Myr

Test fixes

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Michel Weststrate · committed by Michel Weststrate · parent c4f2c2d · Browse files · 3 files+3 added−6 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+3 added−6 removed

  • tests:+1 added−4 removed
  • other:+2 added−2 removed

3 files+3 added−6 removed

modified:__performance_tests__/todo.js+1 added-1 removed
modified:__tests__/frozen.js+1 added-4 removed
1"use strict"2import deepFreeze from "deep-freeze"3import produce, {setUseProxies} from "../src/"44import * as immerProxy from "../src/immer"5import * as immerEs5 from "../src/es5"6import deepFreeze from "deep-freeze"75runTests("proxy", true)6runTests("es5", false)78function runTests(name, useProxies) {
48 unmodified lines
modified:package.json+1 added-1 removed
8 unmodified lines
9 "react-native": "dist/immer.module.js",10 "types": "./immer.d.ts",11 "scripts": {12 "test": "jest",13 "test:perf": "yarn build:babel && node --expose-gc node_modules/jest-cli/bin/jest.js --verbose --testRegex '__performance_tests__/.*'",13 "test:perf": "yarn build && node --expose-gc node_modules/jest-cli/bin/jest.js --verbose --testRegex '__performance_tests__/.*'",14 "coveralls": "jest --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",15 "build": "rimraf dist/ && cross-env NODE_ENV=production rollup -c",16 "prettier": "prettier \"*/**/*.js\" --ignore-path ./.prettierignore --write",17 "prepublish": "yarn build"
57 unmodified lines