Skip to content

Commit

Permalink
test: no warnings when versions are compatible (#789)
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz authored Nov 15, 2021
1 parent d6d9797 commit 603cc1d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/embed.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,17 @@ test('Should warn about incompatible Vega and Vega-Lite versions', async () => {
{}
);

await embed(
el,
{
// should not cause a warning
$schema: 'https://vega.github.io/schema/vega-lite/v5.json',
mark: 'bar',
encoding: {},
},
{}
);

await embed(
el,
{
Expand Down

0 comments on commit 603cc1d

Please sign in to comment.