Skip to content

Conversation

@Mateusz7410
Copy link
Collaborator

No description provided.

@vercel
Copy link

vercel bot commented Jan 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
async-lib Error Error Jan 6, 2026 4:20pm

}
}
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small one, feel free to ignore:
Maybe you can add AsyncMock.hasMock which also checking if it's null, so you core here will be very minimal:

private void injectQueueableMockIfNeeded(QueueableJob job) {
        if (Test.isRunningTest() && AsyncMock.hasMock(job.mockId)) {
                job.queueableCtx = AsyncMock.getQueueableContext(job.mockId);
        }
    }

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>62.0</apiVersion>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

API 65 ;>

@pgajek2
Copy link
Member

pgajek2 commented Jan 6, 2026

Documentation is missing :<

@Mateusz7410
Copy link
Collaborator Author

Thank you @pgajek2 !

Re 1 - Good idea, added.
Re 2 - Done, also other classes bumped
Re 3 - That will be added as soon as I will get some other feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants