summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-05-18 09:21:19 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-05-18 09:21:19 +0900
commitfbd51f0079bc68e7f4768f8f09c420c38ccfd7df (patch)
treedf4d6c2ff98f3afe6bd16a31283745d9cbdaeb3a /test
parentUpdate package.json (diff)
downloadsharkey-fbd51f0079bc68e7f4768f8f09c420c38ccfd7df.tar.gz
sharkey-fbd51f0079bc68e7f4768f8f09c420c38ccfd7df.tar.bz2
sharkey-fbd51f0079bc68e7f4768f8f09c420c38ccfd7df.zip
:v:
Diffstat (limited to 'test')
-rw-r--r--test/text.ts10
1 files changed, 3 insertions, 7 deletions
diff --git a/test/text.ts b/test/text.ts
index 8ce55cd1bc..a64999fc0b 100644
--- a/test/text.ts
+++ b/test/text.ts
@@ -1,11 +1,7 @@
-/**
- * Text Tests!
- */
+import * as assert from 'assert';
-const assert = require('assert');
-
-const analyze = require('../built/text/parse').default;
-const syntaxhighlighter = require('../built/text/parse/core/syntax-highlighter').default;
+import analyze from '../src/text/parse';
+import syntaxhighlighter from '../src/text/parse/core/syntax-highlighter';
describe('Text', () => {
it('can be analyzed', () => {