Skip to content

Commit

Permalink
test(unit-test): pass Header__notice_test
Browse files Browse the repository at this point in the history
  • Loading branch information
yyc-git committed Mar 7, 2019
1 parent 554cdd8 commit 2c7fa7e
Showing 1 changed file with 126 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,59 @@ exports[`Header Notice test show notice else else, if localStorage version !== c
<div
className="content-text"
>
欢迎来到Wonder,你可以通过访问我们的
已为您升级为1.0.0-rc.1版本。
</div>
<div
className="content-white"
/>
<div
className="content-text"
>
<a
href="http://www.wonder-3d.com/"
href="https://www.wonder-3d.com/"
target="view_window"
>
官方网站
</a>
, 查看我们能为你提供什么服务
</div>
<div
className="content-white"
className="content-small-white"
/>
<div
className="content-text"
>
<a
href="https://forum.wonder-3d.com/"
target="view_window"
>
论坛
</a>
</div>
<div
className="content-small-white"
/>
<div
className="content-text"
>
<a
href="https://www.wonder-3d.com/docs/docs/doc1-1/"
target="view_window"
>
文档
</a>
</div>
<div
className="content-small-white"
/>
<div
className="content-text"
>
Wonder 科技为你服务
<a
href="https://github.com/Wonder-Technology"
target="view_window"
>
Github
</a>
</div>
</div>
<div
Expand Down Expand Up @@ -83,22 +120,59 @@ exports[`Header Notice test show notice else if localStorage have no version key
<div
className="content-text"
>
欢迎来到Wonder,你可以通过访问我们的
已为您升级为1.0.0-rc.1版本。
</div>
<div
className="content-white"
/>
<div
className="content-text"
>
<a
href="http://www.wonder-3d.com/"
href="https://www.wonder-3d.com/"
target="view_window"
>
官方网站
</a>
, 查看我们能为你提供什么服务
</div>
<div
className="content-white"
className="content-small-white"
/>
<div
className="content-text"
>
<a
href="https://forum.wonder-3d.com/"
target="view_window"
>
论坛
</a>
</div>
<div
className="content-small-white"
/>
<div
className="content-text"
>
<a
href="https://www.wonder-3d.com/docs/docs/doc1-1/"
target="view_window"
>
文档
</a>
</div>
<div
className="content-small-white"
/>
<div
className="content-text"
>
Wonder 科技为你服务
<a
href="https://github.com/Wonder-Technology"
target="view_window"
>
Github
</a>
</div>
</div>
<div
Expand Down Expand Up @@ -141,22 +215,59 @@ exports[`Header Notice test show notice if localStorage have no welcomeUser key
<div
className="content-text"
>
欢迎来到Wonder,你可以通过访问我们的
欢迎使用Wonder编辑器,我们为您服务~
</div>
<div
className="content-white"
/>
<div
className="content-text"
>
<a
href="http://www.wonder-3d.com/"
href="https://www.wonder-3d.com/"
target="view_window"
>
官方网站
</a>
, 查看我们能为你提供什么服务
</div>
<div
className="content-white"
className="content-small-white"
/>
<div
className="content-text"
>
Wonder 科技为你服务
<a
href="https://forum.wonder-3d.com/"
target="view_window"
>
论坛
</a>
</div>
<div
className="content-small-white"
/>
<div
className="content-text"
>
<a
href="https://www.wonder-3d.com/docs/docs/doc1-1/"
target="view_window"
>
文档
</a>
</div>
<div
className="content-small-white"
/>
<div
className="content-text"
>
<a
href="https://github.com/Wonder-Technology"
target="view_window"
>
Github
</a>
</div>
</div>
<div
Expand Down

0 comments on commit 2c7fa7e

Please sign in to comment.