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

Commit 1540008

Browse files
committed
Update docs for release
1 parent 1b33eba commit 1540008

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

docs/api/karma/ts_web_test.html

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ <h3 id="ts_web_test_suite_args">Attributes</h3>
306306

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

309-
<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>
309+
<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>
310310

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

377377
</td>
378378
</tr>
379+
<tr id="ts_web_test.runtime_deps">
380+
<td><code>runtime_deps</code></td>
381+
<td>
382+
<p><code>List of <a href="https://bazel.build/docs/build-ref.html#labels">labels</a>; Optional; Default is []</code></p>
383+
<p>Dependencies which should be loaded after the module loader but before the srcs and deps.
384+
These should be a list of targets which produce JavaScript such as <code>ts_library</code>.
385+
The files will be loaded in the same order they are declared by that rule.</p>
386+
</td>
387+
</tr>
379388
<tr id="ts_web_test.static_files">
380389
<td><code>static_files</code></td>
381390
<td>
382391
<p><code>List of <a href="https://bazel.build/docs/build-ref.html#labels">labels</a>; Optional; Default is []</code></p>
383-
<p>Arbitrary files which to be served.</p>
392+
<p>Arbitrary files which are available to be served on request.
393+
Files are served at:
394+
<code>/base/&lt;WORKSPACE_NAME&gt;/&lt;path-to-file&gt;</code>, e.g.
395+
<code>/base/build_bazel_rules_typescript/examples/testing/static_script.js</code></p>
384396
</td>
385397
</tr>
386398
</tbody>

package.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ def rules_typescript_dependencies():
3838
_maybe(
3939
http_archive,
4040
name = "build_bazel_rules_nodejs",
41-
urls = ["https://github.com/bazelbuild/rules_nodejs/archive/0.16.0.zip"],
42-
strip_prefix = "rules_nodejs-0.16.0",
41+
urls = ["https://github.com/bazelbuild/rules_nodejs/archive/0.16.1.zip"],
42+
strip_prefix = "rules_nodejs-0.16.1",
4343
)
4444

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

0 commit comments

Comments
 (0)