Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commita749895

Browse files
committed
Update tests to check for 2 values
1 parent8eeabfe commita749895

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎arrayStringMap.test.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,9 @@ describe("Map with two objects", () => {
172172
assert([...arrayStringMap.keys()][1]===sampleArray3,"Array is sampleArray3");
173173
})
174174
it("Map values returns array with two values",()=>{
175-
assert([...arrayStringMap.values()].length===1,"Array length is1");
175+
assert([...arrayStringMap.values()].length===2,"Array length is2");
176176
assert([...arrayStringMap.values()][0]===sampleValue1,"Value is sampleValue1");
177+
assert([...arrayStringMap.values()][1]===sampleValue2,"Value is sampleValue2");
177178
})
178179
it("Map uses proper separator underneath",()=>{
179180
//@ts-ignore - this is a test, and we need to make sure the underlying map

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp