Skip to content

Commit ea689bc

Browse files
committed
chore: basic type test for RELEASE_TYPES
1 parent c5d29df commit ea689bc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Diff for: test/internal/constants.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ const t = require('tap')
22
const constants = require('../../internal/constants')
33

44
t.match(constants, {
5-
SEMVER_SPEC_VERSION: String,
65
MAX_LENGTH: Number,
7-
MAX_SAFE_INTEGER: Number,
86
MAX_SAFE_COMPONENT_LENGTH: Number,
9-
}, 'got some numbers exported')
7+
MAX_SAFE_INTEGER: Number,
8+
RELEASE_TYPES: Array,
9+
SEMVER_SPEC_VERSION: String,
10+
}, 'got appropriate data types exported')

0 commit comments

Comments
 (0)