chore(tests): add code coverage

This commit is contained in:
Vlad Filippov 2014-12-18 01:57:25 -05:00
Родитель 711863c254
Коммит bb5d055253
4 изменённых файлов: 17 добавлений и 3 удалений

Просмотреть файл

@ -5,18 +5,22 @@
"jquery": "^1.11.1", "jquery": "^1.11.1",
"ember": "1.7.0", "ember": "1.7.0",
"ember-data": "1.0.0-beta.10", "ember-data": "1.0.0-beta.10",
"ember-resolver": "~0.1.7", "ember-resolver": "0.1.7",
"loader.js": "stefanpenner/loader.js#1.0.1", "loader.js": "stefanpenner/loader.js#1.0.1",
"ember-cli-shims": "stefanpenner/ember-cli-shims#0.0.3", "ember-cli-shims": "stefanpenner/ember-cli-shims#0.0.3",
"ember-cli-test-loader": "rwjblue/ember-cli-test-loader#0.0.4", "ember-cli-test-loader": "rwjblue/ember-cli-test-loader#0.0.4",
"ember-load-initializers": "stefanpenner/ember-load-initializers#0.0.2", "ember-load-initializers": "stefanpenner/ember-load-initializers#0.0.2",
"ember-qunit": "0.1.8", "ember-qunit": "0.1.8",
"ember-qunit-notifications": "0.0.4", "ember-qunit-notifications": "0.0.4",
"qunit": "~1.15.0", "qunit": "1.15.0",
"foundation": "zurb/bower-foundation#~5.4.5", "foundation": "zurb/bower-foundation#~5.4.5",
"ember-simple-auth": "0.6.7" "ember-simple-auth": "0.6.7",
"blanket": "1.1.5"
}, },
"resolutions": { "resolutions": {
"jquery": ">= 1.7.0 < 2.2.0" "jquery": ">= 1.7.0 < 2.2.0"
},
"devDependencies": {
"blanket": "~1.1.5"
} }
} }

Просмотреть файл

@ -41,6 +41,7 @@
}, },
"devDependencies": { "devDependencies": {
"ember-cli": "0.1.4", "ember-cli": "0.1.4",
"ember-cli-blanket": "^0.2.2",
"ember-cli-qunit": "0.1.1", "ember-cli-qunit": "0.1.1",
"grunt": "^0.4.5", "grunt": "^0.4.5",
"grunt-cli": "^0.1.13", "grunt-cli": "^0.1.13",

7
tests/blanket-options.js Normal file
Просмотреть файл

@ -0,0 +1,7 @@
/* globals blanket */
blanket.options({
filter: "//.*fxa-oauth-console/.*/",
antifilter: "//.*(tests|templates).*/",
loaderExclusions: ['simple-auth']
});

Просмотреть файл

@ -39,6 +39,8 @@
<script src="assets/vendor.js"></script> <script src="assets/vendor.js"></script>
<script src="assets/test-support.js"></script> <script src="assets/test-support.js"></script>
<script src="assets/fxa-oauth-console.js"></script> <script src="assets/fxa-oauth-console.js"></script>
<script src="assets/blanket-options.js"></script>
<script src="assets/blanket-loader.js"></script>
<script src="testem.js"></script> <script src="testem.js"></script>
<script src="assets/test-loader.js"></script> <script src="assets/test-loader.js"></script>
</body> </body>