Skip to content

Instantly share code, notes, and snippets.

@valdrinkoshi
Last active March 24, 2017 18:26
Show Gist options
  • Save valdrinkoshi/042ae35b79c0578ce24d96915763c2eb to your computer and use it in GitHub Desktop.
Save valdrinkoshi/042ae35b79c0578ce24d96915763c2eb to your computer and use it in GitHub Desktop.
WCT config setup
<html><head>
<title>basic test</title>
<script src="../../web-component-tester/browser.js"></script>
</head>
<body>
<script>
test('no environment imports!', function() {
assert.equal(document.querySelectorAll('link[rel="import"]'), 0);
});
</script>
</body></html>
<html><head>
<title>runner</title>
<script src="../../web-component-tester/browser.js"></script>
</head>
<body>
<script>
WCT.loadSuites([
'basic.html'
]);
</script>
</body></html>
{
"suites": ["runner.html"],
"environmentImports": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment