flutter_flutter/tests/modules/modules-expected.txt
Elliott Sprehn 30c38af903 module.exports should default to an empty object.
Per the spec in modules.md the exports property should default to an
empty object. We lazy allocate it so that modules that just replace it
don't create the empty object and then throw it away.

R=abarth@chromium.org

Review URL: https://codereview.chromium.org/872043003
2015-01-26 11:38:04 -08:00

7 lines
137 B
Plaintext

Running 2 tests
ok 1 Module should be constructable
ok 2 Module should have an empty object by default for exports
2 tests
2 pass
0 fail