Skip to content

Commit 2add07c

Browse files
committed
tested umd bundle
1 parent e412dd2 commit 2add07c

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

test/browser/README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
# Browser tests
22

3-
The purpose of this folder is to preserve legacy code that were written to test functionality "manually" in a browser,
4-
e.g. you would open an HTML in your browser and look through the rendered view to check if there were any
5-
deviations from what you expected.
6-
7-
No new tests should be written this way, since the execution and verification of functionality should be automated.
3+
This tests the generated bundle in a HTML page.

test/browser/tabs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
border-top: 0.1em solid gray;
5353
}
5454
</style>
55-
<script type="text/javascript" src="../../../lib/webpack-bundle.js"></script>
55+
<script src="../../../dist/solid-ui.js"></script>
5656
<script type="text/javascript" src="test-tabs.js"></script>
5757
</head>
5858

test/browser/tabs/test-tabs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ document.addEventListener('DOMContentLoaded', function () {
6969
container.innerHTML = ''
7070
if (tabContentCache[subject.uri]) {
7171
container.appendChild(tabContentCache[subject.uri])
72-
debug.log(' used cached copy for ' + subject.uri)
72+
console.log(' used cached copy for ' + subject.uri)
7373
return
7474
}
7575
const iframe = container.appendChild(dom.createElement('iframe'))

0 commit comments

Comments
 (0)