Skip to content

Commit

Permalink
test getAttr
Browse files Browse the repository at this point in the history
  • Loading branch information
klein0r committed May 11, 2024
1 parent 1287784 commit 58c297e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testFunctions.js
Expand Up @@ -1871,7 +1871,7 @@ describe.only('Test JS', function () {
` const attr2 = getAttr({ level1: { level2: { level3: 15 } } }, 'level1.level2.level3');\n` +
` const attr3 = getAttr({ obj: { 'with-hyphen': { val: true } } }, 'obj.with-hyphen.val');\n` +
` const attr4 = getAttr({ obj: { 'colon:0': { val: 'yes' } } }, 'obj.colon:0.val');\n` +
` const attr5 = getAttr({ obj: { arr: ['one', 'two', 'tree', 'four'] } }, 'obj.arr.2');\n` +
` const attr5 = getAttr({ obj: { arr: ['one', 'two', 'three', 'four'] } }, 'obj.arr.2');\n` +
` const attr6 = getAttr({ obj: { arr: [{ val: 1 }, { val: 2 }, { val: 3 }, { val: 4 }] } }, 'obj.arr.1.val');\n` +
` setState('test_getAttr', { val: JSON.stringify({ attr1, attr2, attr3, attr4, attr5, attr6 }), ack: true });\n` +
`});`,
Expand Down

0 comments on commit 58c297e

Please sign in to comment.