Changeset - d6ad5c249820
[Not reviewed]
default
0 0 1
drewp@bigasterisk.com - 7 years ago 2018-05-04 03:09:11
drewp@bigasterisk.com
start resource-display web test
Ignore-this: bae5158330a8ed6cd96cd40bf49fa18
1 file changed with 34 insertions and 0 deletions:
0 comments (0 inline, 0 general)
light9/web/resource-display_test.html
Show inline comments
 
new file 100644
 
<!doctype html>
 
<html>
 
  <head>
 
    <title>resource-display test</title>
 
    <meta charset="utf-8">
 
    <link rel="stylesheet" media="all" href="/node_modules/mocha/mocha.css">
 
    <link rel="import" href="edit-choice.html">
 

	
 
  </head>
 
  <body>
 
    <div id="test" style="margin:70px; background:#555"></div>
 
    <div id="mocha"><p><a href=".">Index</a></p></div>
 
    <div id="messages"></div>
 
    <div id="fixtures"></div>
 
    <script src="/node_modules/mocha/mocha.js"></script>
 
    <script src="/node_modules/chai/chai.js"></script>
 

	
 
    
 
    <script>mocha.setup('bdd')
 
     describe("resource-display", () => {
 
         let ec;
 
         beforeEach(() => {
 
             const top = document.querySelector("#test");
 
             top.innerHTML = '';
 
             ec = document.createElement("edit-choice");
 
             top.appendChild(ec);
 
         });
 
         it("makes a node", () => {
 
             assert(ec.tag == "E");
 
         });
 
     }); 
 
     mocha.run();</script>
 
  </body>
 
</html>
0 comments (0 inline, 0 general)