forked from MapComplete/MapComplete
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			No EOL
		
	
	
		
			364 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			No EOL
		
	
	
		
			364 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import {describe} from 'mocha'
 | |
| import {expect} from 'chai'
 | |
| import {Utils} from "../Utils";
 | |
| 
 | |
| describe("TestSuite", () => {
 | |
|     
 | |
|     describe("function under test", () => {
 | |
|         it("should work", () => {
 | |
|         expect("abc").eq("abc")
 | |
|         })
 | |
|     })
 | |
| })
 | |
| 
 | |
| it("global test", async() => {
 | |
|     expect("abc").eq("abc")
 | |
|     expect(() => {throw "hi"}).throws(/hi/)
 | |
| }) |