File tree Expand file tree Collapse file tree 4 files changed +4
-98
lines changed Expand file tree Collapse file tree 4 files changed +4
-98
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ You can selectively run either the JS or Dart versions as follows:
155155
156156You can run just the unit tests as follows:
157157
158- *  ` $(npm bin)/gulp test.unit.js ` : JS tests in a browser; runs in ** watch mode**  (i.e. karma 
158+ *  ` $(npm bin)/gulp test.unit.js ` : JS tests in a browser; runs in ** watch mode**  (i.e.
159159 watches the test files for changes and re-runs tests when files are updated).
160160*  ` $(npm bin)/gulp test.unit.cjs ` : JS tests in NodeJS; runs in ** watch mode** .
161161*  ` $(npm bin)/gulp test.unit.dart ` : Dart tests in Dartium; runs in ** watch mode** .
@@ -166,15 +166,14 @@ If you prefer running tests in "single-run" mode rather than watch mode use:
166166*  ` $(npm bin)/gulp test.unit.cjs/ci ` 
167167*  ` $(npm bin)/gulp test.unit.dart/ci ` 
168168
169+ The task updates the dist folder with transpiled code whenever a source or test file changes, and
170+ Karma is run against the new output.
171+ 
169172** Note** : If you want to only run a single test you can alter the test you wish to run by changing
170173` it `  to ` iit `  or ` describe `  to ` ddescribe ` . This will only run that individual test and make it
171174much easier to debug. ` xit `  and ` xdescribe `  can also be useful to exclude a test and a group of
172175tests respectively.
173176
174- ** Note for transpiler tests** : The karma preprocessor is setup in a way so that after every test
175- run the transpiler is reloaded. With that it is possible to make changes to the preprocessor and
176- run the tests without exiting karma (just touch a test file that you would like to run).
177- 
178177### E2e tests  
179178
1801791 .  ` $(npm bin)/gulp build.js.cjs `  (builds benchpress and tests into ` dist/js/cjs `  folder).
Load Diff This file was deleted. 
Load Diff This file was deleted. 
Load Diff This file was deleted. 
                         You can’t perform that action at this time. 
           
                  
0 commit comments