orc-shared 1.7.0-dev.4 → 1.7.0-dev.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/reducers/view.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "orc-shared",
|
|
3
|
-
"version": "1.7.0-dev.
|
|
3
|
+
"version": "1.7.0-dev.5",
|
|
4
4
|
"description": "Shared code for Orckestra applications",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"prettier --write"
|
|
64
64
|
],
|
|
65
65
|
"*.js": [
|
|
66
|
-
"eslint"
|
|
66
|
+
"eslint --max-warnings=0"
|
|
67
67
|
],
|
|
68
68
|
"./src/translations/*.json": [
|
|
69
69
|
"npx orc-scripts validateTranslations"
|
package/src/reducers/view.js
CHANGED
|
@@ -522,14 +522,7 @@ describe("View state reducer", () => {
|
|
|
522
522
|
});
|
|
523
523
|
const action = applicationScopeHasChanged("oldScope", "newScope");
|
|
524
524
|
const newState = viewReducer(oldState, action);
|
|
525
|
-
return expect(newState, "not to be", oldState).and(
|
|
526
|
-
"to exhaustively satisfy",
|
|
527
|
-
Immutable.fromJS({
|
|
528
|
-
anotherKey: {
|
|
529
|
-
id: "ThisValueShouldRemain",
|
|
530
|
-
},
|
|
531
|
-
}),
|
|
532
|
-
);
|
|
525
|
+
return expect(newState, "not to be", oldState).and("to exhaustively satisfy", Immutable.fromJS({}));
|
|
533
526
|
});
|
|
534
527
|
|
|
535
528
|
it("Removes edit model field correctly", () => {
|