aboutsummaryrefslogtreecommitdiff
path: root/test/content
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2019-05-19 15:40:23 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2019-05-19 15:40:23 +0900
commitc4dcdff9844e2404e3bc035f4cea9fce2f7770ab (patch)
tree7ef405ad3d460e2149bd92da3de81ad3f46da5b8 /test/content
parent6d9aaef18c9f48684c8bb99e53c586e9781a69f0 (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);
});
});