forked from FoundKeyGang/FoundKey
Fix built module references
This commit is contained in:
parent
3fb6834f7d
commit
0a48ef59cd
3 changed files with 6 additions and 6 deletions
|
@ -4,8 +4,8 @@
|
||||||
|
|
||||||
const assert = require('assert');
|
const assert = require('assert');
|
||||||
|
|
||||||
const analyze = require('../built/common/text/parse').default;
|
const analyze = require('../built/text/parse').default;
|
||||||
const syntaxhighlighter = require('../built/common/text/parse/core/syntax-highlighter').default;
|
const syntaxhighlighter = require('../built/text/parse/core/syntax-highlighter').default;
|
||||||
|
|
||||||
describe('Text', () => {
|
describe('Text', () => {
|
||||||
it('can be analyzed', () => {
|
it('can be analyzed', () => {
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
const { default: Post } = require('../../../built/api/models/post');
|
const { default: Post } = require('../../../built/api/models/post');
|
||||||
const { default: zip } = require('@prezzemolo/zip')
|
const { default: zip } = require('@prezzemolo/zip')
|
||||||
const html = require('../../../built/common/text/html').default;
|
const html = require('../../../built/text/html').default;
|
||||||
const parse = require('../../../built/common/text/parse').default;
|
const parse = require('../../../built/text/parse').default;
|
||||||
|
|
||||||
const migrate = async (post) => {
|
const migrate = async (post) => {
|
||||||
const result = await Post.update(post._id, {
|
const result = await Post.update(post._id, {
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
const { default: Message } = require('../../../built/api/models/message');
|
const { default: Message } = require('../../../built/api/models/message');
|
||||||
const { default: zip } = require('@prezzemolo/zip')
|
const { default: zip } = require('@prezzemolo/zip')
|
||||||
const html = require('../../../built/common/text/html').default;
|
const html = require('../../../built/text/html').default;
|
||||||
const parse = require('../../../built/common/text/parse').default;
|
const parse = require('../../../built/text/parse').default;
|
||||||
|
|
||||||
const migrate = async (message) => {
|
const migrate = async (message) => {
|
||||||
const result = await Message.update(message._id, {
|
const result = await Message.update(message._id, {
|
||||||
|
|
Loading…
Reference in a new issue