mirror of
				https://github.com/microsoft/playwright.git
				synced 2025-06-26 21:40:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			383 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			383 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| const {TestRunner, Matchers, Reporter} = require('..');
 | |
| 
 | |
| const testRunner = new TestRunner();
 | |
| const {expect} = new Matchers();
 | |
| 
 | |
| require('./testrunner.spec.js').addTests({testRunner, expect});
 | |
| 
 | |
| new Reporter(testRunner, {
 | |
|   verbose: process.argv.includes('--verbose'),
 | |
|   summary: true,
 | |
|   projectFolder: require('path').join(__dirname, '..'),
 | |
|   showSlowTests: 0,
 | |
| });
 | |
| testRunner.run();
 | |
| 
 | 
