@involves/stage-lib
v0.0.27
Published
[](https://buildkite.com/involves/nodejs-lib-stage) [
async function run() {
const product = await ProductService.get(
{
tenant: 'homologacao',
project: 1,
id: 99
}
)
const pointOfSale = await PointOfSaleService.get(
{
tenant: 'homologacao',
project: 1,
id: 10
}
)
}
run()How to run the tests
At the terminal, just type the command:
make testExtra configuration
ENVs
STAGE_LIB_STAGE_BASE_URLdefault https://{tenant}.involves.comSTAGE_LIB_STAGE_TIMEOUTdefault 60000STAGE_LIB_STAGE_API_USER_PROVIDER_URLdefault https://stage-api-user-provider.involvesapp.comSTAGE_LIB_STAGE_API_USER_PROVIDER_TIMEOUTdefault 10000STAGE_LIB_STAGE_API_USER_PROVIDER_CACHE_TOKEN_TTL_IN_SECONDSdefault 300
