-fix test setup
This commit is contained in:
parent
4240e1b767
commit
03b2e064c2
@ -124,7 +124,11 @@ export async function createSimpleTestkudosEnvironment(
|
|||||||
exchange.enableAgeRestrictions(ageMaskSpec);
|
exchange.enableAgeRestrictions(ageMaskSpec);
|
||||||
// Enable age restriction for all coins.
|
// Enable age restriction for all coins.
|
||||||
exchange.addCoinConfigList(
|
exchange.addCoinConfigList(
|
||||||
coinConfig.map((x) => ({ ...x, ageRestricted: true })),
|
coinConfig.map((x) => ({
|
||||||
|
...x,
|
||||||
|
name: `${x.name}-age`,
|
||||||
|
ageRestricted: true,
|
||||||
|
})),
|
||||||
);
|
);
|
||||||
// For mixed age restrictions, we also offer coins without age restrictions
|
// For mixed age restrictions, we also offer coins without age restrictions
|
||||||
if (opts.mixedAgeRestriction) {
|
if (opts.mixedAgeRestriction) {
|
||||||
|
Loading…
Reference in New Issue
Block a user