diff --git a/packages/events/__tests__/EventPluginRegistry-test.internal.js b/packages/events/__tests__/EventPluginRegistry-test.internal.js index 6273e77799..3af0a78237 100644 --- a/packages/events/__tests__/EventPluginRegistry-test.internal.js +++ b/packages/events/__tests__/EventPluginRegistry-test.internal.js @@ -15,7 +15,10 @@ describe('EventPluginRegistry', () => { beforeEach(() => { jest.resetModuleRegistry(); - // TODO: can we express this test with only public API? + // These tests are intentionally testing the private injection interface. + // The public API surface of this is covered by other tests so + // if `EventPluginRegistry` is ever deleted, these tests should be + // safe to remove too. EventPluginRegistry = require('events/EventPluginRegistry'); createPlugin = function(properties) {