Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
richardm-stripe committed Apr 4, 2023
1 parent 91b0a6e commit 87ab07e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/stripe.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {FetchHttpClient} from '../cjs/net/FetchHttpClient.js';
import {NodeHttpClient} from '../cjs/net/NodeHttpClient.js';
import {createStripe} from '../cjs/stripe.core.js';
import {getMockPlatformFunctions} from './testUtils.js';
import {ApiVersion} from '../cjs/apiVersion.js';

const testUtils = require('./testUtils.js');
const Stripe = require('../cjs/stripe.cjs.node.js');
Expand Down Expand Up @@ -119,7 +120,7 @@ describe('Stripe Module', function() {

cases.forEach((item) => {
const newStripe = Stripe(testUtils.getUserStripeKey(), item);
expect(newStripe.getApiField('version')).to.equal(null);
expect(newStripe.getApiField('version')).to.equal(ApiVersion);
});
});

Expand Down

0 comments on commit 87ab07e

Please sign in to comment.