diff options
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#!/'))); } }); |
