changed redeem response

This commit is contained in:
John Yeo
2025-04-16 11:35:47 +01:00
parent 946947b086
commit c4e8f4e7b1
5 changed files with 13 additions and 19 deletions

View File

@@ -133,8 +133,8 @@ describe(`${chalk.yellowBright(
redemptions.push(redemption);
assert.equal(redemption.triggered, false);
assert.equal(redemption.applied, false);
// assert.equal(redemption.triggered, false);
// assert.equal(redemption.applied, false);
}
// Try redeem for redeemer1 again

View File

@@ -11,15 +11,9 @@ import {
} from "@autumn/shared";
import { timeout } from "tests/utils/genUtils.js";
import { initCustomerWithTestClock } from "tests/utils/testInitUtils.js";
import { advanceTestClock } from "tests/utils/stripeUtils.js";
import { addDays, addHours, addMonths } from "date-fns";
import { Stripe } from "stripe";
import { initCustomer } from "tests/utils/init.js";
import {
checkFeatureHasCorrectBalance,
compareMainProduct,
compareProductEntitlements,
} from "tests/utils/compare.js";
import { compareProductEntitlements } from "tests/utils/compare.js";
// UNCOMMENT FROM HERE
describe(`${chalk.yellowBright(
@@ -90,8 +84,8 @@ describe(`${chalk.yellowBright(
redemptions.push(redemption);
assert.equal(redemption.triggered, false);
assert.equal(redemption.applied, false);
// assert.equal(redemption.triggered, false);
// assert.equal(redemption.applied, false);
}
// Try redeem for redeemer1 again