diff options
author | 2023-11-21 17:21:41 +0000 | |
---|---|---|
committer | 2023-11-21 17:21:41 +0000 | |
commit | 4aca47beca867da2b7f634af3447c66a93bc86d0 (patch) | |
tree | 4c9081cbf6871af66725a176f5dae7ce9f990905 /packages/integrations/react/test | |
parent | af43fb51726fa2242cec03cb019fa4fa4a4403ef (diff) | |
download | astro-4aca47beca867da2b7f634af3447c66a93bc86d0.tar.gz astro-4aca47beca867da2b7f634af3447c66a93bc86d0.tar.zst astro-4aca47beca867da2b7f634af3447c66a93bc86d0.zip |
[ci] format
Diffstat (limited to 'packages/integrations/react/test')
-rw-r--r-- | packages/integrations/react/test/parsed-react-children.test.js | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/packages/integrations/react/test/parsed-react-children.test.js b/packages/integrations/react/test/parsed-react-children.test.js index 876897c95..1c845836f 100644 --- a/packages/integrations/react/test/parsed-react-children.test.js +++ b/packages/integrations/react/test/parsed-react-children.test.js @@ -1,15 +1,15 @@ import { expect } from 'chai'; -import convert from "../vnode-children.js"; +import convert from '../vnode-children.js'; describe('experimental react children', () => { - it('has undefined as children for direct children', () => { - const [ imgVNode ] = convert('<img src="abc"></img>'); - expect(imgVNode.props).to.deep.include({ children: undefined }); - }) + it('has undefined as children for direct children', () => { + const [imgVNode] = convert('<img src="abc"></img>'); + expect(imgVNode.props).to.deep.include({ children: undefined }); + }); - it('has undefined as children for nested children', () => { - const [ divVNode ] = convert('<div><img src="xyz"></img></div>'); - const [ imgVNode ] = divVNode.props.children; - expect(imgVNode.props).to.deep.include({ children: undefined }); - }) -}) + it('has undefined as children for nested children', () => { + const [divVNode] = convert('<div><img src="xyz"></img></div>'); + const [imgVNode] = divVNode.props.children; + expect(imgVNode.props).to.deep.include({ children: undefined }); + }); +}); |