Browse Source

harder test of modified default exports

contingency-plan
Rich-Harris 10 years ago
parent
commit
71e5002cc3
  1. 6
      test/function/default-export-is-not-bound/main.js

6
test/function/default-export-is-not-bound/main.js

@ -1,6 +1,6 @@
import value from './foo';
import a from './foo';
import { change } from './foo';
assert.equal( value, 42 );
assert.equal( a, 42 );
change();
assert.equal( value, 42, 'default export should not be bound' );
assert.equal( a, 42, 'default export should not be bound' );

Loading…
Cancel
Save