Skip to content
This repository has been archived by the owner on Dec 9, 2019. It is now read-only.

Commit

Permalink
fix(tests): re added tests with wct
Browse files Browse the repository at this point in the history
  • Loading branch information
LasaleFamine committed Oct 14, 2017
1 parent ce431d3 commit 14307fa
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions test/suites/sk-app.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">

<!-- MAIN IMPORTS -->
<script src="/node_modules/@webcomponents/webcomponentsjs/custom-elements-es5-adapter.js"></script>
<script src="/node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
<script src="/node_modules/web-component-tester/browser.js"></script>

<script src="/node_modules/@polymer/test-fixture/test-fixture.js"></script>
<!-- All bundle -->
<script src="/dist/bundle.js"></script>
</head>

<body>

<test-fixture id="element">
<template>
<sk-app name="Sk App"></sk-app>
</template>
</test-fixture>


<script>
suite('<sk-app>', () => {
let element;
setup(() => {
element = fixture('element');
});
suite('Test Properties', () => {
test('Default Properties', () => {
assert.equal(element.name, 'Sk App');
});
});
});
</script>
</body>

</html>

0 comments on commit 14307fa

Please sign in to comment.