diff options
Diffstat (limited to 'test/content')
-rw-r--r-- | test/content/usecases/HintKeyProducer.test.ts (renamed from test/content/hint-key-producer.test.ts) | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/content/hint-key-producer.test.ts b/test/content/usecases/HintKeyProducer.test.ts index dcf477d..feafffb 100644 --- a/test/content/hint-key-producer.test.ts +++ b/test/content/usecases/HintKeyProducer.test.ts @@ -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); }); }); |