From 04b388ed9c91d52284e7686972bf3e96fa7a5722 Mon Sep 17 00:00:00 2001 From: Marcos RJJunior Date: Wed, 8 Jan 2025 14:26:07 +1000 Subject: [PATCH] updating test.d.ts comments (#16207) --- packages/bun-types/test.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/bun-types/test.d.ts b/packages/bun-types/test.d.ts index 17270962a4002a..e6574df7ccecf5 100644 --- a/packages/bun-types/test.d.ts +++ b/packages/bun-types/test.d.ts @@ -1050,7 +1050,7 @@ declare module "bun:test" { * * @example * const o = { a: 'foo', b: 'bar', c: 'baz' }; - ` * expect(o).toContainAnyValues(['qux', 'foo']); + * expect(o).toContainAnyValues(['qux', 'foo']); * expect(o).toContainAnyValues(['qux', 'bar']); * expect(o).toContainAnyValues(['qux', 'baz']); * expect(o).not.toContainAnyValues(['qux']); @@ -1060,6 +1060,8 @@ declare module "bun:test" { /** * Asserts that an `object` contains all the provided keys. + * + * @example * expect({ a: 'foo', b: 'bar', c: 'baz' }).toContainKeys(['a', 'b']); * expect({ a: 'foo', b: 'bar', c: 'baz' }).toContainKeys(['a', 'b', 'c']); * expect({ a: 'foo', b: 'bar', c: 'baz' }).not.toContainKeys(['a', 'b', 'e']);