From 9c90a5f087145eb2e12809d8939cd618c7909c60 Mon Sep 17 00:00:00 2001 From: Michael Shanks Date: Sun, 23 Feb 2020 22:12:30 +0000 Subject: [PATCH] test fixes - store renamed state --- packages/client/tests/bindingDom.spec.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/client/tests/bindingDom.spec.js b/packages/client/tests/bindingDom.spec.js index af93b1f0bf..2013803d27 100644 --- a/packages/client/tests/bindingDom.spec.js +++ b/packages/client/tests/bindingDom.spec.js @@ -8,7 +8,7 @@ describe("initialiseApp (binding)", () => { _component: "testlib/div", className: { "##bbstate": "divClassName", - "##bbsource": "store", + "##bbsource": "state", "##bbstatefallback": "default", }, }) @@ -24,7 +24,7 @@ describe("initialiseApp (binding)", () => { _component: "testlib/div", className: { "##bbstate": "divClassName", - "##bbsource": "store", + "##bbsource": "state", "##bbstatefallback": "default", }, }) @@ -43,7 +43,7 @@ describe("initialiseApp (binding)", () => { const { dom, app } = await load( makePage({ _component: "testlib/div", - className: "store.divClassName", + className: "state.divClassName", }) ) @@ -65,7 +65,7 @@ describe("initialiseApp (binding)", () => { _component: "testlib/h1", text: { "##bbstate": "headerOneText", - "##bbsource": "store", + "##bbsource": "state", "##bbstatefallback": "header one", }, }, @@ -73,7 +73,7 @@ describe("initialiseApp (binding)", () => { _component: "testlib/h1", text: { "##bbstate": "headerTwoText", - "##bbsource": "store", + "##bbsource": "state", "##bbstatefallback": "header two", }, }, @@ -99,7 +99,7 @@ describe("initialiseApp (binding)", () => { _component: "testlib/h1", text: { "##bbstate": "headerOneText", - "##bbsource": "store", + "##bbsource": "state", "##bbstatefallback": "header one", }, }, @@ -107,7 +107,7 @@ describe("initialiseApp (binding)", () => { _component: "testlib/h1", text: { "##bbstate": "headerTwoText", - "##bbsource": "store", + "##bbsource": "state", "##bbstatefallback": "header two", }, }, @@ -150,7 +150,7 @@ describe("initialiseApp (binding)", () => { _component: "testlib/h1", text: { "##bbstate": "headerOneText", - "##bbsource": "store", + "##bbsource": "state", "##bbstatefallback": "header one", }, }, @@ -158,7 +158,7 @@ describe("initialiseApp (binding)", () => { _component: "testlib/h1", text: { "##bbstate": "headerTwoText", - "##bbsource": "store", + "##bbsource": "state", "##bbstatefallback": "header two", }, }, @@ -221,7 +221,7 @@ describe("initialiseApp (binding)", () => { path: "address", value: { "##bbstate": "sourceaddress", - "##bbsource": "store", + "##bbsource": "state", "##bbstatefallback": "fallback address", }, }),