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 Jan 11, 2023. It is now read-only.

Commite2f78a9

Browse files
GettyOrawonchevobbe
authored andcommitted
remove skip from grip.js test (#8179)
* remove skip from grip.js test* change outdated test* remove uninteresting properties test
1 parent6f8a783 commite2f78a9

File tree

1 file changed

+0
-21
lines changed
  • packages/devtools-reps/src/reps/tests

1 file changed

+0
-21
lines changed

‎packages/devtools-reps/src/reps/tests/grip.js‎

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -264,27 +264,6 @@ describe("Grip - Object with more than long mode max props", () => {
264264
});
265265
});
266266

267-
describe("Grip - Object with uninteresting properties",()=>{
268-
// Test object: `{a: undefined, b: undefined, c: "c", d: 1}`
269-
constobject=stubs.get("testUninterestingProps");
270-
271-
it("correctly selects Grip Rep",()=>{
272-
expect(getRep(object)).toBe(Grip.rep);
273-
});
274-
275-
it.skip("renders as expected",()=>{
276-
//@TODO This is broken at the moment.
277-
// See https://bugzilla.mozilla.org/show_bug.cgi?id=1276376
278-
constrenderRep=props=>shallowRenderRep(object,props);
279-
constdefaultOutput='Object {c: "c", d: 1, a: undefined, more...}';
280-
281-
expect(renderRep({mode:undefined}).text()).toBe(defaultOutput);
282-
expect(renderRep({mode:MODE.TINY}).text()).toBe("{…}");
283-
expect(renderRep({mode:MODE.SHORT}).text()).toBe(defaultOutput);
284-
expect(renderRep({mode:MODE.LONG}).text()).toBe(defaultOutput);
285-
});
286-
});
287-
288267
describe("Grip - Object with non-enumerable properties",()=>{
289268
// Test object: `Object.defineProperty({}, "foo", {enumerable : false});`
290269
constobject=stubs.get("testNonEnumerableProps");

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp