Skip to content

Commit

Permalink
fix: run tests on output code
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan DiMascio committed Jul 26, 2020
1 parent d226d16 commit 890a06d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/__tests__/index.node.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import test from 'ava';
import getAttributes from '..';

// eslint-disable-next-line import/extensions
import getAttributes from '../../dist/index.min.js';

test('`getAttributes.parse()` parses attributes from a string', t => {
const string = '<div id="ava" data-brand-icon="ava" data-brand-color="dark"></div>';
Expand Down
4 changes: 3 additions & 1 deletion src/__tests__/index.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
/* eslint-disable no-undef */

import test from 'ava';
import getAttributes from '..';

// eslint-disable-next-line import/extensions
import getAttributes from '../../dist/index.min.js';

test('`getAttributes.parse()` parses attributes from a DOM element', t => {
const div = document.createElement('div');
Expand Down

0 comments on commit 890a06d

Please sign in to comment.