Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
richardhjtan committed Oct 28, 2024
1 parent 134686d commit 52d303a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/realm-server/tests/billing-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ module('billing', function (hooks) {
await dbAdapter.close();
});

module('checkout session completed', function (hooks) {
module('checkout session completed', function () {
test('update user stripe customer id when checkout session completed', async function (assert) {
// mock user
await insertUser(dbAdapter, 'testuser', '');
Expand All @@ -80,8 +80,8 @@ module('billing', function (hooks) {
);

let stripeEvents = await fetchStripeEvents(dbAdapter);
assert.equal(stripeEvents.length, 1);
assert.equal(
assert.strictEqual(stripeEvents.length, 1);
assert.strictEqual(
stripeEvents[0].stripe_event_id,
stripeCheckoutSessionCompletedEvent.id,
);
Expand All @@ -90,9 +90,9 @@ module('billing', function (hooks) {
dbAdapter,
'cus_123',
);
assert.equal(updatedUser.length, 1);
assert.equal(updatedUser[0].stripe_customer_id, 'cus_123');
assert.equal(updatedUser[0].matrix_user_id, 'testuser');
assert.strictEqual(updatedUser.length, 1);
assert.strictEqual(updatedUser[0].stripe_customer_id, 'cus_123');
assert.strictEqual(updatedUser[0].matrix_user_id, 'testuser');
});
});
});

0 comments on commit 52d303a

Please sign in to comment.