Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Merge pull request #190 from Polymer/wct
Browse files Browse the repository at this point in the history
switch to web-component-tester
  • Loading branch information
nevir committed Sep 19, 2014
2 parents 3ab4dff + f6dde5d commit 8d3161c
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 50 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"observe-js": "Polymer/observe-js#master"
},
"devDependencies": {
"polymer-test-tools": "Polymer/polymer-test-tools#master"
"web-component-tester": "Polymer/web-component-tester#^0.5.1"
},
"license": "BSD",
"private": true,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
"karma-safari-launcher": "*",
"karma-script-launcher": "*",
"mocha": ">=1.9",
"web-component-tester": "^0.3.2"
"web-component-tester": "^0.5.1"
}
}
18 changes: 2 additions & 16 deletions tests/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
<head>
<title>TemplateBinding tests</title>
<meta charset="utf-8">
<link rel="stylesheet" href="../node_modules/mocha/mocha.css">
<script src="../node_modules/chai/chai.js"></script>
<script src="../node_modules/mocha/mocha.js"></script>
<script src="../../web-component-tester/browser.js"></script>
<script>
var parserHasNativeTemplate = function() {
var div = document.createElement('div');
Expand All @@ -26,19 +24,7 @@
</head>
<body>
<script>

mocha.setup({
ui: 'tdd',
ignoreLeaks: true
});

var assert = chai.assert;

</script>
<script src="tests.js"></script>
<div id="mocha"></div>
<script>
mocha.run();
WCT.loadSuites(['tests.js']);
</script>
</body>
</html>
25 changes: 0 additions & 25 deletions tests/runner.html

This file was deleted.

7 changes: 0 additions & 7 deletions tests/tests.json

This file was deleted.

0 comments on commit 8d3161c

Please sign in to comment.