diff options
| author | Julie | 2014-02-06 11:03:17 -0800 |
|---|---|---|
| committer | Igor Minar | 2014-02-07 20:41:11 -0800 |
| commit | ad275b226551e45b68dace46af5fcd8178e31a60 (patch) | |
| tree | d5b692e8bc72de6de918771a28b4c4d7e928e74b /docs/src/gen-docs.js | |
| parent | 600e6218fedd03bffabf78a9f7d0d9b68515b9a3 (diff) | |
| download | angular.js-ad275b226551e45b68dace46af5fcd8178e31a60.tar.bz2 | |
refactor(doc): separate end to end tests into jquery and jqlite files
Diffstat (limited to 'docs/src/gen-docs.js')
| -rwxr-xr-x | docs/src/gen-docs.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/src/gen-docs.js b/docs/src/gen-docs.js index 9fc5f8db..ff8d8311 100755 --- a/docs/src/gen-docs.js +++ b/docs/src/gen-docs.js @@ -57,7 +57,10 @@ writer.makeDir('build/docs/', true).then(function() { fileFutures.push(writer.output('partials/' + doc.section + '/' + id + '.html', doc.html())); // If it has a sample Protractor test, output that as well. if (doc.protractorTests.length) { - fileFutures.push(writer.output('ptore2e/' + doc.section + '/' + id + '_test.js', ngdoc.writeProtractorTest(doc))); + fileFutures.push(writer.output('ptore2e/' + doc.section + '/' + id + '.jquery_test.js', + ngdoc.writeProtractorTest(doc, 'index-jq-nocache.html#!/'))); + fileFutures.push(writer.output('ptore2e/' + doc.section + '/' + id + '.jqlite_test.js', + ngdoc.writeProtractorTest(doc, 'index-nocache.html#!/'))); } }); |
