Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit 42f0073

Browse files
committed
server: Fix various imports
1 parent 20ee62d commit 42f0073

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

spec-es6/attribute_parser.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as attributeParser from '../src/public/app/services/attribute_parser.js';
22

3-
import {describe, it, expect, execute} from './mini_test';
3+
import {describe, it, expect, execute} from './mini_test.js';
44

55
describe("Lexing", () => {
66
it("simple label", () => {

spec/etapi/notes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import crypto from "crypto";
2-
import etapi from "../support/etapi";
2+
import etapi from "../support/etapi.js";
33

44
etapi.describeEtapi("notes", () => {
55
it("create", async () => {

spec/search/parens.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import handleParens from "../../src/services/search/services/handle_parens";
2-
import { TokenStructure } from "../../src/services/search/services/types";
1+
import handleParens from "../../src/services/search/services/handle_parens.js";
2+
import { TokenStructure } from "../../src/services/search/services/types.js";
33

44
describe("Parens handler", () => {
55
it("handles parens", () => {

src/services/import/enex.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import htmlSanitizer from "../html_sanitizer.js";
1111
import sanitizeAttributeName from "../sanitize_attribute_name.js";
1212
import TaskContext from "../task_context.js";
1313
import BNote from "../../becca/entities/bnote.js";
14-
import { File } from "./common";
14+
import { File } from "./common.js";
1515
import { AttributeType } from "../../becca/entities/rows.js";
1616

1717
/**

src/share/shaca/entities/sattribute.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use strict";
22

3-
import AbstractShacaEntity from "./abstract_shaca_entity";
3+
import AbstractShacaEntity from "./abstract_shaca_entity.js";
44
import { SAttributeRow } from "./rows.js";
55
import SNote from "./snote.js";
66

0 commit comments

Comments
 (0)