Browse Source

test that object property dependencies are included

contingency-plan
Rich-Harris 10 years ago
parent
commit
c9c899fbf5
  1. 4
      test/samples/object-properties/_config.js
  2. 2
      test/samples/object-properties/main.js
  3. 5
      test/samples/object-properties/object.js

4
test/samples/object-properties/_config.js

@ -0,0 +1,4 @@
module.exports = {
description: 'includes object properties in definitions',
// solo: true
};

2
test/samples/object-properties/main.js

@ -0,0 +1,2 @@
import object from './object';
assert.equal( object.answer, 42 );

5
test/samples/object-properties/object.js

@ -0,0 +1,5 @@
var answer = 42;
export default {
answer: answer
};
Loading…
Cancel
Save