リクエストごとにスコープを切ってほしいサービスクラスを作ろうとしたら、テストが以下のエラーで落ちるようになりました。
XxxService is marked as a scoped provider. Request and transient-scoped providers can't be used in combination with "get()" method. Please, use "resolve()" instead.
とりあえず言うことを聞いて
// before
service = module.get<LineWorksApiService>(LineWorksApiService);
// after
service = await module.resolve<LineWorksApiService>(LineWorksApiService);
のように直したら通りました。