Add HintKeyProducer
This commit is contained in:
		
							parent
							
								
									6d9aaef18c
								
							
						
					
					
						commit
						c4dcdff984
					
				
					 3 changed files with 42 additions and 3 deletions
				
			
		|  | @ -1,9 +1,10 @@ | |||
| import HintKeyProducer from 'content/hint-key-producer'; | ||||
| import HintKeyProducer from '../../../src/content/usecases/HintKeyProducer'; | ||||
| import { expect } from 'chai'; | ||||
| 
 | ||||
| describe('HintKeyProducer class', () => { | ||||
|   describe('#constructor', () => { | ||||
|     it('throws an exception on empty charset', () => { | ||||
|       expect(() => new HintKeyProducer([])).to.throw(TypeError); | ||||
|       expect(() => new HintKeyProducer('')).to.throw(TypeError); | ||||
|     }); | ||||
|   }); | ||||
| 
 | ||||
		Reference in a new issue