Create test specific markup in tests
Instead of relying on a shared dom structure, the tests should create (and destroy) elements as needed.
This commit is contained in:
+4
-2
@@ -64,7 +64,9 @@
|
||||
mocha.run();
|
||||
}
|
||||
</script>
|
||||
|
||||
<div id="map"></div>
|
||||
<!--
|
||||
Tests should not depend on any specific markup and should instead create
|
||||
whatever elements are needed (cleaning up when done).
|
||||
-->
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user