Skip to content

Commit e8fd452

Browse files
theodorejbthePunderWoman
authored andcommitted
fix(core): remove individual commands for updating gold files (#45198)
The documented command for updating the forms gold files was outdated and didn't work. Since this command list can easily become outdated, remove the individual commands in favor of the simpler global scripts. PR Close #45198
1 parent 71ff12c commit e8fd452

1 file changed

Lines changed: 1 addition & 14 deletions

File tree

packages/core/test/bundling/README.md

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,7 @@
33
## `js_expected_symbol_test`
44
This folder contains tests which assert that most of the code is tree shaken away.
55
This is asserted by keeping gold files of all symbols which are expected to be retained.
6-
When doing renaming it is often necessary to update the gold files, to do so use these commands:
7-
8-
```
9-
yarn bazel run //packages/core/test/bundling/injection:symbol_test.accept
10-
yarn bazel run //packages/core/test/bundling/cyclic_import:symbol_test.accept
11-
yarn bazel run //packages/core/test/bundling/forms:symbol_test.accept
12-
yarn bazel run //packages/core/test/bundling/hello_world:symbol_test.accept
13-
yarn bazel run //packages/core/test/bundling/router:symbol_test.accept
14-
yarn bazel run //packages/core/test/bundling/todo:symbol_test.accept
15-
yarn bazel run //packages/core/test/bundling/animations:symbol_test.accept
16-
```
17-
18-
## Running all symbol tests
19-
To run all symbol tests with one command, you can use the following scripts:
6+
When doing renaming it is often necessary to update the gold files; to do so use these scripts:
207

218
```
229
yarn run symbol-extractor:check

0 commit comments

Comments
 (0)