Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Nov 23, 2019
1 parent 9300a13 commit 2f3d7e4
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions test/test.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
const assert = require('assert');
const { walk, childKeys } = require('..');
const { walk } = require('..');

describe('estree-walker', () => {
it('walks a malformed node, if childKeys is populated', () => {
// this test must come first, otherwise it doesn't have
// an opportunity to present
childKeys.Foo = ['answer'];

it('walks a malformed node', () => {
const block = [
{
type: 'Foo',
Expand Down

0 comments on commit 2f3d7e4

Please sign in to comment.