Skip to content

Commit

Permalink
test: fix after migrate to class
Browse files Browse the repository at this point in the history
  • Loading branch information
Scrum committed May 14, 2020
1 parent 93e22d5 commit 977b3f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 25 deletions.
19 changes: 0 additions & 19 deletions test/helpers/setup.js

This file was deleted.

8 changes: 2 additions & 6 deletions test/test-registration.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
import test from 'ava';
import VueBreadcrumbs, {VueBreadcrumbsPlugin} from '../src';
import VueBreadcrumbs from '../lib/vue-2-breadcrumbs.common';

test('default export should be a function', t => {
t.true(VueBreadcrumbs instanceof Function);
});

test('named export `VueBreadcrumbsPlugin` should be a function', t => {
t.true(VueBreadcrumbsPlugin instanceof Function);
t.true(VueBreadcrumbs.install instanceof Function);
});

0 comments on commit 977b3f8

Please sign in to comment.