test fixes - store renamed state

This commit is contained in:
Michael Shanks 2020-02-23 22:12:30 +00:00
parent 9835e71a2e
commit 9c90a5f087
1 changed files with 10 additions and 10 deletions

View File

@ -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",
}, },
}), }),