Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Commit

Permalink
Update docs for release
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle committed Nov 16, 2018
1 parent 1b33eba commit 1540008
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
16 changes: 14 additions & 2 deletions docs/api/karma/ts_web_test.html
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ <h3 id="ts_web_test_suite_args">Attributes</h3>

<h2 id="ts_web_test">ts_web_test</h2>

<pre>ts_web_test(<a href="#ts_web_test.name">name</a>, <a href="#ts_web_test.deps">deps</a>, <a href="#ts_web_test.data">data</a>, <a href="#ts_web_test.srcs">srcs</a>, <a href="#ts_web_test.bootstrap">bootstrap</a>, <a href="#ts_web_test.karma">karma</a>, <a href="#ts_web_test.static_files">static_files</a>)</pre>
<pre>ts_web_test(<a href="#ts_web_test.name">name</a>, <a href="#ts_web_test.deps">deps</a>, <a href="#ts_web_test.data">data</a>, <a href="#ts_web_test.srcs">srcs</a>, <a href="#ts_web_test.bootstrap">bootstrap</a>, <a href="#ts_web_test.karma">karma</a>, <a href="#ts_web_test.runtime_deps">runtime_deps</a>, <a href="#ts_web_test.static_files">static_files</a>)</pre>

<p>Runs unit tests in a browser.</p>
<p>When executed under <code>bazel test</code>, this uses a headless browser for speed.
Expand Down Expand Up @@ -376,11 +376,23 @@ <h3 id="ts_web_test_args">Attributes</h3>

</td>
</tr>
<tr id="ts_web_test.runtime_deps">
<td><code>runtime_deps</code></td>
<td>
<p><code>List of <a href="https://bazel.build/docs/build-ref.html#labels">labels</a>; Optional; Default is []</code></p>
<p>Dependencies which should be loaded after the module loader but before the srcs and deps.
These should be a list of targets which produce JavaScript such as <code>ts_library</code>.
The files will be loaded in the same order they are declared by that rule.</p>
</td>
</tr>
<tr id="ts_web_test.static_files">
<td><code>static_files</code></td>
<td>
<p><code>List of <a href="https://bazel.build/docs/build-ref.html#labels">labels</a>; Optional; Default is []</code></p>
<p>Arbitrary files which to be served.</p>
<p>Arbitrary files which are available to be served on request.
Files are served at:
<code>/base/&lt;WORKSPACE_NAME&gt;/&lt;path-to-file&gt;</code>, e.g.
<code>/base/build_bazel_rules_typescript/examples/testing/static_script.js</code></p>
</td>
</tr>
</tbody>
Expand Down
4 changes: 2 additions & 2 deletions package.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ def rules_typescript_dependencies():
_maybe(
http_archive,
name = "build_bazel_rules_nodejs",
urls = ["https://github.com/bazelbuild/rules_nodejs/archive/0.16.0.zip"],
strip_prefix = "rules_nodejs-0.16.0",
urls = ["https://github.com/bazelbuild/rules_nodejs/archive/0.16.1.zip"],
strip_prefix = "rules_nodejs-0.16.1",
)

# ts_web_test depends on the web testing rules to provision browsers.
Expand Down

0 comments on commit 1540008

Please sign in to comment.