Skip to content

Commit

Permalink
Fix test for legacy JS API warning (#2017)
Browse files Browse the repository at this point in the history
  • Loading branch information
jathak authored Sep 17, 2024
1 parent 3fc22df commit a915c2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js-api-spec/deprecations.node.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe('a warning from the JS API', () => {
data: 'a { b: c; }',
});
});
expect(stdio.err).toContain('legacy-js-api');
expect(stdio.err).toContain('legacy JS API');
});

it('is not emitted when deprecation silenced', () => {
Expand Down

0 comments on commit a915c2c

Please sign in to comment.