Skip to content

Commit

Permalink
Fix mdx test
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Jun 28, 2024
1 parent 02f68b1 commit 1dd7efb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/integrations/mdx/test/mdx-vite-env-vars.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ describe('MDX - Vite env vars', () => {
const dataAttrDump = document.querySelector('[data-env-dump]');
assert.notEqual(dataAttrDump, null);

assert.notEqual(dataAttrDump.getAttribute('data-env-prod'), null);
assert.equal(dataAttrDump.getAttribute('data-env-dev'), null);
assert.equal(dataAttrDump.getAttribute('data-env-prod'), 'true');
assert.equal(dataAttrDump.getAttribute('data-env-dev'), 'false');
assert.equal(dataAttrDump.getAttribute('data-env-base-url'), '/');
assert.equal(dataAttrDump.getAttribute('data-env-mode'), 'production');
});
Expand Down

0 comments on commit 1dd7efb

Please sign in to comment.