From a3ea86a4c655398fb26387df9bb72815c32031ea Mon Sep 17 00:00:00 2001 From: Nick Martin Date: Mon, 2 Apr 2012 22:15:16 -0700 Subject: [PATCH] Comment on including test file from a different package directory. --- packages/livedata/package.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/livedata/package.js b/packages/livedata/package.js index 22929c3bde..2918711e5f 100644 --- a/packages/livedata/package.js +++ b/packages/livedata/package.js @@ -34,4 +34,13 @@ Package.on_test(function (api) { api.add_files('livedata_connection_tests.js', ['client']); api.add_files('livedata_tests.js', ['client', 'server']); api.add_files('livedata_test_service.js', ['client', 'server']); + + // XXX Currently there is no good way to share test files between + // packages. If the file is included here, when the whole test suite + // is run it is included twice and causes an error. However, if you + // don't include it here and run the tests just in this directory, the + // file is not included at all. + // + // api.add_files('../stream/stub_stream.js', ['client']); + });