You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
233 B

import * as foo from './foo';
assert.equal(foo['default'], 'DEF');
assert.equal(foo.b, 'b');
assert.equal(foo.a, 'a');
var keys = [];
for (var key in foo) {
keys.push(key);
}
assert.deepEqual(keys.sort(), ['a', 'b', 'default']);