From 8633a49fd169e6f50ee6e5c04b61df2a70789d35 Mon Sep 17 00:00:00 2001 From: SongYoungUk Date: Thu, 16 Oct 2025 09:10:52 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#73837=20feat(e?= =?UTF-8?q?mscripten):=20add=20`contents`=20field=20to=20`FSNode`=20for=20?= =?UTF-8?q?`MEMFS`=20compatibility=20by=20@R3gardless?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/emscripten/emscripten-tests.ts | 2 ++ types/emscripten/index.d.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/types/emscripten/emscripten-tests.ts b/types/emscripten/emscripten-tests.ts index bb85037eecc642..6511a871407c26 100644 --- a/types/emscripten/emscripten-tests.ts +++ b/types/emscripten/emscripten-tests.ts @@ -166,6 +166,8 @@ function FSTest(): void { const lookup = FS.lookupPath("path", { parent: true, follow: false }); // $ExpectType number lookup.node.mode; + // $ExpectType any + lookup.node.contents; const analyze = FS.analyzePath("path"); // $ExpectType boolean diff --git a/types/emscripten/index.d.ts b/types/emscripten/index.d.ts index fbbecd971caf74..8481efd6cbea80 100644 --- a/types/emscripten/index.d.ts +++ b/types/emscripten/index.d.ts @@ -163,6 +163,8 @@ declare namespace FS { parent: FSNode; mount: Mount; mounted?: Mount; + // Supported in MEMFS + contents?: any; id: number; name: string; mode: number; From 3bdd0c60d90c8f6198842a98cda43c59e70642ce Mon Sep 17 00:00:00 2001 From: Kevin Bon Date: Wed, 15 Oct 2025 20:12:58 -0400 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#73854=20fix(ja?= =?UTF-8?q?smine)=20add=20missing=20`forbidDuplicateNames`=20to=20`Configu?= =?UTF-8?q?ration`=20by=20@bonkevin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: bonkevin --- types/jasmine/index.d.ts | 8 ++++++++ types/jasmine/jasmine-tests.ts | 1 + 2 files changed, 9 insertions(+) diff --git a/types/jasmine/index.d.ts b/types/jasmine/index.d.ts index 5ea32c42a627d6..f13c66e47241a4 100644 --- a/types/jasmine/index.d.ts +++ b/types/jasmine/index.d.ts @@ -306,6 +306,14 @@ declare namespace jasmine { * @default false */ stopOnSpecFailure?: boolean | undefined; + /** + * Whether to forbid duplicate spec or suite names. If set to true, using + * the same name multiple times in the same immediate parent suite is an + * error. + * @since 5.5.0 + * @default false + */ + forbidDuplicateNames?: boolean | undefined; /** * Whether to fail the spec if it ran no expectations. By default * a spec that ran no expectations is reported as passed. Setting this diff --git a/types/jasmine/jasmine-tests.ts b/types/jasmine/jasmine-tests.ts index fccee53ce98f5b..45f5d63f8c7095 100644 --- a/types/jasmine/jasmine-tests.ts +++ b/types/jasmine/jasmine-tests.ts @@ -14,6 +14,7 @@ import JasmineClass from "jasmine"; jasmineClass.addMatchingHelperFiles(["dir/**/*.js"]); jasmineClass.env.configure({ + forbidDuplicateNames: true, random: true, failSpecWithNoExpectations: true, hideDisabled: true,