[codeceptjs.conf][bootstrap] - Inject is not defined

Hi there!
I have the following scenario:
--------------- \ ----------------------
// codecept.conf.js

mocha: {},
async bootstrap() {
await checkout.getFlag();

// src/api/checkout.js, outside tests.
const { I } = inject();
--------------- \ ----------------------

So bootstrap is called first, inside bootstrap I have checkout.getFlag() that uses Inject() which is not initialized yet so I’m getting undefined for Inject() every time I run a test.

Is there a way to make Inject() available for modules outside tests scenarios during the bootstrap cycle?
Thank you!