Skip to content

Commit

Permalink
chore: Fix test for subscription
Browse files Browse the repository at this point in the history
  • Loading branch information
neet committed Jan 26, 2023
1 parent 20ccc90 commit 2e5dff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/v1/subscription.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ describe('subscription', () => {
it('can subscribe', async () => {
const ecdh = crypto.createECDH('prime256v1');
const auth = crypto.randomBytes(16).toString('base64');
const p256dh = ecdh.getPublicKey().toString('base64');
const p256dh = ecdh.generateKeys().toString('base64');

const { id } = await admin.v1.webPushSubscriptions.create({
subscription: {
Expand Down

0 comments on commit 2e5dff2

Please sign in to comment.