mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 21:11:30 +08:00 
			
		
		
		
	Merge pull request #1190 from TriliumNext/deps_jasmine-types
deps: remove leftover @types/jasmine
This commit is contained in:
		
						commit
						689af591d1
					
				
							
								
								
									
										8
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										8
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							| @ -135,7 +135,6 @@ | |||||||
|         "@types/fs-extra": "11.0.4", |         "@types/fs-extra": "11.0.4", | ||||||
|         "@types/html": "1.0.4", |         "@types/html": "1.0.4", | ||||||
|         "@types/ini": "4.1.1", |         "@types/ini": "4.1.1", | ||||||
|         "@types/jasmine": "5.1.5", |  | ||||||
|         "@types/jquery": "3.5.32", |         "@types/jquery": "3.5.32", | ||||||
|         "@types/jsdom": "21.1.7", |         "@types/jsdom": "21.1.7", | ||||||
|         "@types/leaflet-gpx": "1.3.7", |         "@types/leaflet-gpx": "1.3.7", | ||||||
| @ -4104,13 +4103,6 @@ | |||||||
|       "dev": true, |       "dev": true, | ||||||
|       "license": "MIT" |       "license": "MIT" | ||||||
|     }, |     }, | ||||||
|     "node_modules/@types/jasmine": { |  | ||||||
|       "version": "5.1.5", |  | ||||||
|       "resolved": "https://registry.npmjs.org/@types/jasmine/-/jasmine-5.1.5.tgz", |  | ||||||
|       "integrity": "sha512-SaCZ3kM5NjOiJqMRYwHpLbTfUC2Dyk1KS3QanNFsUYPGTk70CWVK/J9ueun6zNhw/UkgV7xl8V4ZLQZNRbfnNw==", |  | ||||||
|       "dev": true, |  | ||||||
|       "license": "MIT" |  | ||||||
|     }, |  | ||||||
|     "node_modules/@types/jquery": { |     "node_modules/@types/jquery": { | ||||||
|       "version": "3.5.32", |       "version": "3.5.32", | ||||||
|       "resolved": "https://registry.npmjs.org/@types/jquery/-/jquery-3.5.32.tgz", |       "resolved": "https://registry.npmjs.org/@types/jquery/-/jquery-3.5.32.tgz", | ||||||
|  | |||||||
| @ -182,7 +182,6 @@ | |||||||
|     "@types/fs-extra": "11.0.4", |     "@types/fs-extra": "11.0.4", | ||||||
|     "@types/html": "1.0.4", |     "@types/html": "1.0.4", | ||||||
|     "@types/ini": "4.1.1", |     "@types/ini": "4.1.1", | ||||||
|     "@types/jasmine": "5.1.5", |  | ||||||
|     "@types/jquery": "3.5.32", |     "@types/jquery": "3.5.32", | ||||||
|     "@types/jsdom": "21.1.7", |     "@types/jsdom": "21.1.7", | ||||||
|     "@types/leaflet-gpx": "1.3.7", |     "@types/leaflet-gpx": "1.3.7", | ||||||
|  | |||||||
| @ -1,8 +1,9 @@ | |||||||
| import etapi from "../support/etapi.js"; | import etapi from "../support/etapi.js"; | ||||||
| 
 | /* TriliumNextTODO: port to Vitest  | ||||||
| etapi.describeEtapi("app_info", () => { | etapi.describeEtapi("app_info", () => { | ||||||
|     it("get", async () => { |     it("get", async () => { | ||||||
|         const appInfo = await etapi.getEtapi("app-info"); |         const appInfo = await etapi.getEtapi("app-info"); | ||||||
|         expect(appInfo.clipperProtocolVersion).toEqual("1.0"); |         expect(appInfo.clipperProtocolVersion).toEqual("1.0"); | ||||||
|     }); |     }); | ||||||
| }); | }); | ||||||
|  | */ | ||||||
| @ -1,8 +1,10 @@ | |||||||
| import etapi from "../support/etapi.js"; | import etapi from "../support/etapi.js"; | ||||||
| 
 | 
 | ||||||
|  | /* TriliumNextTODO: port to Vitest | ||||||
| etapi.describeEtapi("backup", () => { | etapi.describeEtapi("backup", () => { | ||||||
|     it("create", async () => { |     it("create", async () => { | ||||||
|         const response = await etapi.putEtapiContent("backup/etapi_test"); |         const response = await etapi.putEtapiContent("backup/etapi_test"); | ||||||
|         expect(response.status).toEqual(204); |         expect(response.status).toEqual(204); | ||||||
|     }); |     }); | ||||||
| }); | }); | ||||||
|  | */ | ||||||
| @ -3,6 +3,7 @@ import fs from "fs"; | |||||||
| import path from "path"; | import path from "path"; | ||||||
| import { fileURLToPath } from "url"; | import { fileURLToPath } from "url"; | ||||||
| 
 | 
 | ||||||
|  | /* TriliumNextTODO: port to Vitest  | ||||||
| etapi.describeEtapi("import", () => { | etapi.describeEtapi("import", () => { | ||||||
|     // temporarily skip this test since test-export.zip is missing
 |     // temporarily skip this test since test-export.zip is missing
 | ||||||
|     xit("import", async () => { |     xit("import", async () => { | ||||||
| @ -22,3 +23,4 @@ etapi.describeEtapi("import", () => { | |||||||
|         expect(content).toContain("test export content"); |         expect(content).toContain("test export content"); | ||||||
|     }); |     }); | ||||||
| }); | }); | ||||||
|  | */ | ||||||
| @ -1,6 +1,7 @@ | |||||||
| import crypto from "crypto"; | import crypto from "crypto"; | ||||||
| import etapi from "../support/etapi.js"; | import etapi from "../support/etapi.js"; | ||||||
| 
 | 
 | ||||||
|  | /* TriliumNextTODO: port to Vitest | ||||||
| etapi.describeEtapi("notes", () => { | etapi.describeEtapi("notes", () => { | ||||||
|     it("create", async () => { |     it("create", async () => { | ||||||
|         const { note, branch } = await etapi.postEtapi("create-note", { |         const { note, branch } = await etapi.postEtapi("create-note", { | ||||||
| @ -99,3 +100,4 @@ etapi.describeEtapi("notes", () => { | |||||||
|         expect(error.message).toEqual(`Note '${note.noteId}' not found.`); |         expect(error.message).toEqual(`Note '${note.noteId}' not found.`); | ||||||
|     }); |     }); | ||||||
| }); | }); | ||||||
|  | */ | ||||||
| @ -1,4 +1,5 @@ | |||||||
| import type child_process from "child_process"; | import type child_process from "child_process"; | ||||||
|  | import { describe, beforeAll, afterAll } from "vitest"; | ||||||
| 
 | 
 | ||||||
| let etapiAuthToken: string | undefined; | let etapiAuthToken: string | undefined; | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran