You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					21 lines
				
				430 B
			
		
		
			
		
	
	
					21 lines
				
				430 B
			| 
								 
											4 years ago
										 
									 | 
							
								// clean up the fixtures
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								var tap = require("tap")
							 | 
						||
| 
								 | 
							
								, rimraf = require("rimraf")
							 | 
						||
| 
								 | 
							
								, test = tap.test
							 | 
						||
| 
								 | 
							
								, path = require("path")
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								test("clean fixtures", function (t) {
							 | 
						||
| 
								 | 
							
								  rimraf(path.resolve(__dirname, "fixtures"), function (er) {
							 | 
						||
| 
								 | 
							
								    t.ifError(er, "rimraf ./fixtures/")
							 | 
						||
| 
								 | 
							
								    t.end()
							 | 
						||
| 
								 | 
							
								  })
							 | 
						||
| 
								 | 
							
								})
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								test("clean tmp", function (t) {
							 | 
						||
| 
								 | 
							
								  rimraf(path.resolve(__dirname, "tmp"), function (er) {
							 | 
						||
| 
								 | 
							
								    t.ifError(er, "rimraf ./tmp/")
							 | 
						||
| 
								 | 
							
								    t.end()
							 | 
						||
| 
								 | 
							
								  })
							 | 
						||
| 
								 | 
							
								})
							 |