diff options
| author | Shin'ya Ueoka <ueokande@i-beam.org> | 2019-05-19 15:40:23 +0900 | 
|---|---|---|
| committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2019-05-19 15:40:23 +0900 | 
| commit | c4dcdff9844e2404e3bc035f4cea9fce2f7770ab (patch) | |
| tree | 7ef405ad3d460e2149bd92da3de81ad3f46da5b8 /test/content | |
| parent | 6d9aaef18c9f48684c8bb99e53c586e9781a69f0 (diff) | |
Add HintKeyProducer
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);      });    }); | 
