mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 18:32:45 +00:00 
			
		
		
		
	Base: Update test-js(1) man page
This commit is contained in:
		
							parent
							
								
									ed116636ce
								
							
						
					
					
						commit
						57e7b2f8e4
					
				
					 1 changed files with 10 additions and 1 deletions
				
			
		|  | @ -5,7 +5,7 @@ test-js - run the LibJS test suite | |||
| ## Synopsis | ||||
| 
 | ||||
| ```**sh | ||||
| $ test-js [options...] | ||||
| $ test-js [options...] [path] | ||||
| ``` | ||||
| 
 | ||||
| ## Description | ||||
|  | @ -14,9 +14,18 @@ $ test-js [options...] | |||
| tests are using a custom JavaScript testing framework inspired by | ||||
| [Jest](https://jestjs.io) (see [`test-common.js`](/home/anon/js-tests/test-common.js)). | ||||
| 
 | ||||
| It also supports the [test262 parser tests](https://github.com/tc39/test262-parser-tests). | ||||
| 
 | ||||
| The test root directory is assumed to be `/home/anon/js-tests`, or `$SERENITY_ROOT/Libraries/LibJS/Tests` | ||||
| when using the Lagom build. Optionally you can pass a custom path to `test-js` to override these defaults. | ||||
| 
 | ||||
| You can disable output from `dbg()` calls by setting the `DISABLE_DBG_OUTPUT` environment variable. | ||||
| 
 | ||||
| ## Options | ||||
| 
 | ||||
| * `-t`, `--show-time`: Show duration of each test | ||||
| * `-g`, `--collect-often`: Collect garbage after every allocation | ||||
| * `--test262-parser-tests`: Run test262 parser tests | ||||
| 
 | ||||
| ## Examples | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Linus Groh
						Linus Groh