Some checks are pending
Build AeThex Engine / build-windows (push) Waiting to run
Build AeThex Engine / build-linux (push) Waiting to run
Build AeThex Engine / build-macos (push) Waiting to run
Build AeThex Engine / create-release (push) Blocked by required conditions
Deploy Docsify Documentation / build (push) Waiting to run
Deploy Docsify Documentation / deploy (push) Blocked by required conditions
13 lines
304 B
JavaScript
13 lines
304 B
JavaScript
let defaultResolver;
|
|
|
|
module.exports = () => {
|
|
if (!defaultResolver) {
|
|
try {
|
|
defaultResolver = require(`jest-resolve/build/defaultResolver`).default;
|
|
} catch (error) {
|
|
defaultResolver = require(`jest-resolve/build/default_resolver`).default;
|
|
}
|
|
}
|
|
|
|
return defaultResolver;
|
|
};
|