1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-12 13:48:12 +09:00

Merge pull request #1363 from akihikodaki/misc

Fix built module references
This commit is contained in:
syuilo 2018-04-02 13:20:56 +09:00 committed by GitHub
commit ed3237cc62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -4,8 +4,8 @@
const assert = require('assert');
const analyze = require('../built/common/text/parse').default;
const syntaxhighlighter = require('../built/common/text/parse/core/syntax-highlighter').default;
const analyze = require('../built/text/parse').default;
const syntaxhighlighter = require('../built/text/parse/core/syntax-highlighter').default;
describe('Text', () => {
it('can be analyzed', () => {

View File

@ -2,8 +2,8 @@
const { default: Post } = require('../../../built/api/models/post');
const { default: zip } = require('@prezzemolo/zip')
const html = require('../../../built/common/text/html').default;
const parse = require('../../../built/common/text/parse').default;
const html = require('../../../built/text/html').default;
const parse = require('../../../built/text/parse').default;
const migrate = async (post) => {
const result = await Post.update(post._id, {

View File

@ -2,8 +2,8 @@
const { default: Message } = require('../../../built/api/models/message');
const { default: zip } = require('@prezzemolo/zip')
const html = require('../../../built/common/text/html').default;
const parse = require('../../../built/common/text/parse').default;
const html = require('../../../built/text/html').default;
const parse = require('../../../built/text/parse').default;
const migrate = async (message) => {
const result = await Message.update(message._id, {