Skip to content

Commit

Permalink
Fixes a test
Browse files Browse the repository at this point in the history
  • Loading branch information
ralexmatthews committed Dec 22, 2024
1 parent eb5ecc0 commit 9ec5a63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/services/easypost.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect } from 'chai';

import EasyPost, { METHODS } from '../../src/easypost';
import EasyPostClient, { METHODS } from '../../src/easypost';
import MissingParameterError from '../../src/errors/general/missing_parameter_error';
import Fixture from '../helpers/fixture';
import * as setupPolly from '../helpers/setup_polly';
Expand All @@ -20,7 +20,7 @@ describe('EasyPost', function () {
});

it('throws an error when no API key is provided', async function () {
expect(() => new EasyPost()).to.throw(
expect(() => new EasyPostClient()).to.throw(
MissingParameterError,
'Missing required parameter: API Key.',
);
Expand Down

0 comments on commit 9ec5a63

Please sign in to comment.