From 28bfb4542626b6bb781872af5faa8cadc4eafc56 Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Wed, 30 Jan 2019 16:56:27 +0900 Subject: Avoid export default --- test/extract-mentions.ts | 2 +- test/mfm.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/extract-mentions.ts b/test/extract-mentions.ts index b32f5dd4bb..a70926cbb1 100644 --- a/test/extract-mentions.ts +++ b/test/extract-mentions.ts @@ -1,7 +1,7 @@ import * as assert from 'assert'; import extractMentions from '../src/misc/extract-mentions'; -import parse from '../src/mfm/parse'; +import { parse } from '../src/mfm/parse'; describe('Extract mentions', () => { it('simple', () => { diff --git a/test/mfm.ts b/test/mfm.ts index bbd53fe58a..5873164d67 100644 --- a/test/mfm.ts +++ b/test/mfm.ts @@ -10,8 +10,8 @@ import * as assert from 'assert'; -import parse, { parsePlain } from '../src/mfm/parse'; -import toHtml from '../src/mfm/toHtml'; +import { parse, parsePlain } from '../src/mfm/parse'; +import { toHtml } from '../src/mfm/toHtml'; import { createTree as tree, createLeaf as leaf, MfmTree } from '../src/mfm/types'; import { removeOrphanedBrackets } from '../src/mfm/parser'; -- cgit v1.2.3-freya