mirror of
				https://github.com/opennetworkinglab/onos.git
				synced 2025-11-04 10:11:16 +01:00 
			
		
		
		
	Moved the unit-tests folder in to the correct location Change-Id: I36bad4aea26ab2425e4b1b6bb2fea1d3be26548e
		
			
				
	
	
		
			18 lines
		
	
	
		
			424 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			424 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
import gulp from 'gulp';
 | 
						|
import path from 'path';
 | 
						|
import { Server } from 'karma';
 | 
						|
 | 
						|
const tests = ['../../web/gui/src/main/webapp/tests/**/*.js'];
 | 
						|
 | 
						|
const test = () => {
 | 
						|
    new Server({
 | 
						|
        configFile: path.join(__dirname, '../../../../../', '/web/gui/src/main/webapp/tests/karma.conf.js'),
 | 
						|
        singleRun: true
 | 
						|
    }).start();
 | 
						|
};
 | 
						|
 | 
						|
const tasks = () => {
 | 
						|
    gulp.task('test', () => test());
 | 
						|
};
 | 
						|
 | 
						|
export default tasks(); |