From d4bb0a8224ab33ef7e0a4ffc669c7c2c180331bf Mon Sep 17 00:00:00 2001 From: Henning Dieterichs Date: Fri, 26 Jul 2024 13:26:48 +0200 Subject: [PATCH] Fixes tests --- package-lock.json | 14 +++++++------- package.json | 2 +- test/unit/setup.js | 3 +++ 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index c0bb2fe7..a3d016df 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,7 +25,7 @@ "jsdom": "^19.0.0", "jsonc-parser": "^3.0.0", "mocha": "^9.2.0", - "monaco-editor-core": "0.50.0-rc", + "monaco-editor-core": "0.51.0-dev-20240725", "parcel": "^2.7.0", "pin-github-action": "^1.8.0", "playwright": "^1.32.2", @@ -5394,9 +5394,9 @@ "dev": true }, "node_modules/monaco-editor-core": { - "version": "0.50.0-rc", - "resolved": "https://registry.npmjs.org/monaco-editor-core/-/monaco-editor-core-0.50.0-rc.tgz", - "integrity": "sha512-DM/rRS4/dxWvHnszmSA81hpAhy8k5k1zE/aYc+lvH+4SxEJNsdHhindo8xM7VavawujvGhs+X3SPbi3ytl3rJQ==", + "version": "0.51.0-dev-20240725", + "resolved": "https://registry.npmjs.org/monaco-editor-core/-/monaco-editor-core-0.51.0-dev-20240725.tgz", + "integrity": "sha512-N/ukRZDRZ31CmVY9iUgmPnjT9kYXVEFhqc6I9/YWCAV8WpgArQXUB3iaMB0QnmQ08yo3D5XgsoHqf+komUj8nA==", "dev": true }, "node_modules/mri": { @@ -11150,9 +11150,9 @@ } }, "monaco-editor-core": { - "version": "0.50.0-rc", - "resolved": "https://registry.npmjs.org/monaco-editor-core/-/monaco-editor-core-0.50.0-rc.tgz", - "integrity": "sha512-DM/rRS4/dxWvHnszmSA81hpAhy8k5k1zE/aYc+lvH+4SxEJNsdHhindo8xM7VavawujvGhs+X3SPbi3ytl3rJQ==", + "version": "0.51.0-dev-20240725", + "resolved": "https://registry.npmjs.org/monaco-editor-core/-/monaco-editor-core-0.51.0-dev-20240725.tgz", + "integrity": "sha512-N/ukRZDRZ31CmVY9iUgmPnjT9kYXVEFhqc6I9/YWCAV8WpgArQXUB3iaMB0QnmQ08yo3D5XgsoHqf+komUj8nA==", "dev": true }, "mri": { diff --git a/package.json b/package.json index d02fab4e..a14480f1 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "jsdom": "^19.0.0", "jsonc-parser": "^3.0.0", "mocha": "^9.2.0", - "monaco-editor-core": "0.50.0-rc", + "monaco-editor-core": "0.51.0-dev-20240725", "parcel": "^2.7.0", "pin-github-action": "^1.8.0", "playwright": "^1.32.2", diff --git a/test/unit/setup.js b/test/unit/setup.js index f06bf323..1ea4ef48 100644 --- a/test/unit/setup.js +++ b/test/unit/setup.js @@ -21,6 +21,9 @@ define('vs/nls', [], { localize: function () { return 'NO_LOCALIZATION_FOR_YOU'; }, + localize2: function (key, message) { + return { value: 'NO_LOCALIZATION_FOR_YOU', original: message }; + }, load: function (name, req, load) { load({}); }