forked from MapComplete/MapComplete
		
	Rename tests to test; add a few tests
This commit is contained in:
		
							parent
							
								
									df706d2f97
								
							
						
					
					
						commit
						c3859d56c6
					
				
					 28 changed files with 33 additions and 5 deletions
				
			
		
							
								
								
									
										17
									
								
								test/Chai.spec.ts
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								test/Chai.spec.ts
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,17 @@ | |||
| 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/) | ||||
| }) | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue