Skip to content

Commit

Permalink
test: unskip a test
Browse files Browse the repository at this point in the history
Because Bun now has `objectContaining`, since:

- oven-sh/bun#7319

(Merged November 2023, released around v1.0.15)
  • Loading branch information
wincent committed Apr 17, 2024
1 parent 6cdf2d4 commit bc859f8
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/legacy/src/parser/__tests__/Parser.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,7 @@ test('blinking light', () => {
});
});

// Skipping this for now, because Bun doesn't have `expect.objectContaining()`
// at this time: https://github.com/oven-sh/bun/issues/1825
test.skip('grammar hashes', () => {
// Stop `tsc` from complaining about `expect.objectContaining()` not existing.
const expect: any = undefined;

test('grammar hashes', () => {
// Not an exhaustive check, but an illustrative example.
expect(grammar).toEqual(
expect.objectContaining({
Expand Down

0 comments on commit bc859f8

Please sign in to comment.