Skip to content

Commit

Permalink
refactor(shifter): change test description to better fit its purpose
Browse files Browse the repository at this point in the history
  • Loading branch information
half-shell committed May 26, 2021
1 parent 2735a0b commit cd937c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __tests__/unit/shifter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ describe('Shifter', () => {
};

describe('#constructor', () => {
describe('when is not given a strategy with a single country', () => {
it('should throw an error if a strategy has been set without any countries', async () => {
describe('when is not given a mapping with a single country', () => {
it('should throw an error if a mapping has been set without any countries', async () => {
let error: Error;

try {
Expand Down

0 comments on commit cd937c5

Please sign in to comment.