mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 07:01:31 +08:00 
			
		
		
		
	server: Fix various imports
This commit is contained in:
		
							parent
							
								
									20ee62dfb1
								
							
						
					
					
						commit
						42f0073ab6
					
				@ -1,6 +1,6 @@
 | 
			
		||||
import * as attributeParser from '../src/public/app/services/attribute_parser.js';
 | 
			
		||||
 | 
			
		||||
import {describe, it, expect, execute} from './mini_test';
 | 
			
		||||
import {describe, it, expect, execute} from './mini_test.js';
 | 
			
		||||
 | 
			
		||||
describe("Lexing", () => {
 | 
			
		||||
    it("simple label", () => {
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,5 @@
 | 
			
		||||
import crypto from "crypto";
 | 
			
		||||
import etapi from "../support/etapi";
 | 
			
		||||
import etapi from "../support/etapi.js";
 | 
			
		||||
 | 
			
		||||
etapi.describeEtapi("notes", () => {
 | 
			
		||||
  it("create", async () => {
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,5 @@
 | 
			
		||||
import handleParens from "../../src/services/search/services/handle_parens";
 | 
			
		||||
import { TokenStructure } from "../../src/services/search/services/types";
 | 
			
		||||
import handleParens from "../../src/services/search/services/handle_parens.js";
 | 
			
		||||
import { TokenStructure } from "../../src/services/search/services/types.js";
 | 
			
		||||
 | 
			
		||||
describe("Parens handler", () => {
 | 
			
		||||
    it("handles parens", () => {
 | 
			
		||||
 | 
			
		||||
@ -11,7 +11,7 @@ import htmlSanitizer from "../html_sanitizer.js";
 | 
			
		||||
import sanitizeAttributeName from "../sanitize_attribute_name.js";
 | 
			
		||||
import TaskContext from "../task_context.js";
 | 
			
		||||
import BNote from "../../becca/entities/bnote.js";
 | 
			
		||||
import { File } from "./common";
 | 
			
		||||
import { File } from "./common.js";
 | 
			
		||||
import { AttributeType } from "../../becca/entities/rows.js";
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,6 @@
 | 
			
		||||
"use strict";
 | 
			
		||||
 | 
			
		||||
import AbstractShacaEntity from "./abstract_shaca_entity";
 | 
			
		||||
import AbstractShacaEntity from "./abstract_shaca_entity.js";
 | 
			
		||||
import { SAttributeRow } from "./rows.js";
 | 
			
		||||
import SNote from "./snote.js";
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user