first working version
This commit is contained in:
		
							
								
								
									
										10
									
								
								test/test.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								test/test.ts
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
import { expect, tap } from 'tapbundle'
 | 
			
		||||
import * as smartversion from '../ts/index'
 | 
			
		||||
 | 
			
		||||
let localSmartVersion: smartversion.SmartVersion
 | 
			
		||||
tap.test('should create a valid SmartVersion', async () => {
 | 
			
		||||
  localSmartVersion = new smartversion.SmartVersion('3.2.1')
 | 
			
		||||
  expect(localSmartVersion).to.be.instanceof(smartversion.SmartVersion)
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
tap.start()
 | 
			
		||||
		Reference in New Issue
	
	Block a user