Skip to content

Commit

Permalink
Update broken SDK 4.0 tests
Browse files Browse the repository at this point in the history
Signed-off-by: Liam McLoughlin <lmcloughlin@fitbit.com>
  • Loading branch information
Hexxeh committed Aug 14, 2019
1 parent 65286b8 commit 5ac5c32
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sdkVersion.test.ts
Expand Up @@ -15,21 +15,21 @@ it('provides a mapping for SDKv3.1', () => {
it('provides a mapping for SDKv4.0', () => {
expect(apiVersions({}, '4.0.0')).toEqual({
deviceApi: '5.0.0',
companionApi: '2.1.0',
companionApi: '3.0.0',
});
});

it('provides a mapping for a known SDK version with a non-zero patch version', () => {
expect(apiVersions({}, '4.0.100')).toEqual({
deviceApi: '5.0.0',
companionApi: '2.1.0',
companionApi: '3.0.0',
});
});

it('provides a mapping for a known SDK version with a pre-release suffix', () => {
expect(apiVersions({}, '4.0.0-alpha.1')).toEqual({
deviceApi: '5.0.0',
companionApi: '2.1.0',
companionApi: '3.0.0',
});
});

Expand Down

0 comments on commit 5ac5c32

Please sign in to comment.