fakeFromImport<T> function
- @visibleForTesting
- T callback()
Runs callback
in a context where AsyncImporter.fromImport returns
true
.
This is only intended for use when testing custom importers.
Implementation
@visibleForTesting
T fakeFromImport<T>(T callback()) => inImportRule(callback);