Browse Source

test fixes - store renamed state

gh-pages
Michael Shanks 7 years ago
parent
commit
e09a79fc87
  1. 20
      packages/client/tests/bindingDom.spec.js

20
packages/client/tests/bindingDom.spec.js

@ -8,7 +8,7 @@ describe("initialiseApp (binding)", () => {
_component: "testlib/div", _component: "testlib/div",
className: { className: {
"##bbstate": "divClassName", "##bbstate": "divClassName",
"##bbsource": "store", "##bbsource": "state",
"##bbstatefallback": "default", "##bbstatefallback": "default",
}, },
}) })
@ -24,7 +24,7 @@ describe("initialiseApp (binding)", () => {
_component: "testlib/div", _component: "testlib/div",
className: { className: {
"##bbstate": "divClassName", "##bbstate": "divClassName",
"##bbsource": "store", "##bbsource": "state",
"##bbstatefallback": "default", "##bbstatefallback": "default",
}, },
}) })
@ -43,7 +43,7 @@ describe("initialiseApp (binding)", () => {
const { dom, app } = await load( const { dom, app } = await load(
makePage({ makePage({
_component: "testlib/div", _component: "testlib/div",
className: "store.divClassName", className: "state.divClassName",
}) })
) )
@ -65,7 +65,7 @@ describe("initialiseApp (binding)", () => {
_component: "testlib/h1", _component: "testlib/h1",
text: { text: {
"##bbstate": "headerOneText", "##bbstate": "headerOneText",
"##bbsource": "store", "##bbsource": "state",
"##bbstatefallback": "header one", "##bbstatefallback": "header one",
}, },
}, },
@ -73,7 +73,7 @@ describe("initialiseApp (binding)", () => {
_component: "testlib/h1", _component: "testlib/h1",
text: { text: {
"##bbstate": "headerTwoText", "##bbstate": "headerTwoText",
"##bbsource": "store", "##bbsource": "state",
"##bbstatefallback": "header two", "##bbstatefallback": "header two",
}, },
}, },
@ -99,7 +99,7 @@ describe("initialiseApp (binding)", () => {
_component: "testlib/h1", _component: "testlib/h1",
text: { text: {
"##bbstate": "headerOneText", "##bbstate": "headerOneText",
"##bbsource": "store", "##bbsource": "state",
"##bbstatefallback": "header one", "##bbstatefallback": "header one",
}, },
}, },
@ -107,7 +107,7 @@ describe("initialiseApp (binding)", () => {
_component: "testlib/h1", _component: "testlib/h1",
text: { text: {
"##bbstate": "headerTwoText", "##bbstate": "headerTwoText",
"##bbsource": "store", "##bbsource": "state",
"##bbstatefallback": "header two", "##bbstatefallback": "header two",
}, },
}, },
@ -150,7 +150,7 @@ describe("initialiseApp (binding)", () => {
_component: "testlib/h1", _component: "testlib/h1",
text: { text: {
"##bbstate": "headerOneText", "##bbstate": "headerOneText",
"##bbsource": "store", "##bbsource": "state",
"##bbstatefallback": "header one", "##bbstatefallback": "header one",
}, },
}, },
@ -158,7 +158,7 @@ describe("initialiseApp (binding)", () => {
_component: "testlib/h1", _component: "testlib/h1",
text: { text: {
"##bbstate": "headerTwoText", "##bbstate": "headerTwoText",
"##bbsource": "store", "##bbsource": "state",
"##bbstatefallback": "header two", "##bbstatefallback": "header two",
}, },
}, },
@ -221,7 +221,7 @@ describe("initialiseApp (binding)", () => {
path: "address", path: "address",
value: { value: {
"##bbstate": "sourceaddress", "##bbstate": "sourceaddress",
"##bbsource": "store", "##bbsource": "state",
"##bbstatefallback": "fallback address", "##bbstatefallback": "fallback address",
}, },
}), }),

Loading…
Cancel
Save