• Robert Knight's avatar
    Remove unnecessary uses of dependency injection · fc09ee36
    Robert Knight authored
     - Stop using dependency injection to mock `OAuthClient`, `Discovery`
       `VirtualThreadList` and `serviceConfig` in tests. Use our modern mocking
       tools instead. This removes unnecessary indirection and runtime
       overhead.
    
     - Remove unused `random` and `time` values from the dependency
       injection container. The code that used to rely on these has since
       been rewritten to import the modules directly.
    fc09ee36
thread-list-test.js 7.07 KB