File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -390,7 +390,6 @@ const DotenvModule = {
390390 configDotenv,
391391 _configVault,
392392 _parseVault,
393- _getRandomTip,
394393 config,
395394 decrypt,
396395 parse,
@@ -400,7 +399,6 @@ const DotenvModule = {
400399module . exports . configDotenv = DotenvModule . configDotenv
401400module . exports . _configVault = DotenvModule . _configVault
402401module . exports . _parseVault = DotenvModule . _parseVault
403- module . exports . _getRandomTip = DotenvModule . _getRandomTip
404402module . exports . config = DotenvModule . config
405403module . exports . decrypt = DotenvModule . decrypt
406404module . exports . parse = DotenvModule . parse
Original file line number Diff line number Diff line change @@ -286,7 +286,7 @@ t.test('deals with file:// path and debug true', ct => {
286286} )
287287
288288t . test ( 'displays random tips from the tips array' , ct => {
289- ct . plan ( 3 )
289+ ct . plan ( 2 )
290290
291291 const logStub = sinon . stub ( console , 'log' )
292292 const testPath = 'tests/.env'
@@ -332,10 +332,6 @@ t.test('displays random tips from the tips array', ct => {
332332
333333 ct . ok ( foundExpectedTip , 'Should display one of the expected tips' )
334334
335- // Test that the _getRandomTip function exists and returns a tip
336- const randomTip = dotenv . _getRandomTip ( )
337- ct . ok ( expectedTips . includes ( randomTip ) , 'Should return a valid tip from the array' )
338-
339335 logStub . restore ( )
340336 ct . end ( )
341337} )
You can’t perform that action at this time.
0 commit comments