From ea689bcbf134bd01d4cb7557ffef620b4e7357d4 Mon Sep 17 00:00:00 2001 From: Gar Date: Tue, 4 Apr 2023 11:19:26 -0700 Subject: [PATCH] chore: basic type test for RELEASE_TYPES --- test/internal/constants.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/internal/constants.js b/test/internal/constants.js index 1b72d870..a8f6ab2d 100644 --- a/test/internal/constants.js +++ b/test/internal/constants.js @@ -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')