UNPKG

test-page-loader

Version:

Simple helper for unit testing with JavaScript Testing Frameworks (e.g. Jasmine, QUnit, etc.), to load HTML pages as fixtures.

29 lines (24 loc) 478 B
<!DOCTYPE html> <html class="goLeftTop"> <head> <meta charset="utf-8"> <link rel="stylesheet" href="style.css"> <style> html.goLeftTop { margin: 4px; border-width: 8px; padding: 16px; } body.goLeftTop { margin: 32px; border-width: 64px; padding: 128px; } </style> <script src="../../../src/my-class.js"></script> </head> <body class="goLeftTop"> BODY <div id="target-goLeftTop">MyClass</div> </body> </html>