Skip to content

Commit

Permalink
chore: basic type test for RELEASE_TYPES
Browse files Browse the repository at this point in the history
  • Loading branch information
wraithgar committed Apr 10, 2023
1 parent c5d29df commit ea689bc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/internal/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ const t = require('tap')
const constants = require('../../internal/constants')

t.match(constants, {
SEMVER_SPEC_VERSION: String,
MAX_LENGTH: Number,
MAX_SAFE_INTEGER: Number,
MAX_SAFE_COMPONENT_LENGTH: Number,
}, 'got some numbers exported')
MAX_SAFE_INTEGER: Number,
RELEASE_TYPES: Array,
SEMVER_SPEC_VERSION: String,
}, 'got appropriate data types exported')

0 comments on commit ea689bc

Please # to comment.