Skip to content

Commit 8711466

Browse files
committed
test: address failing tests
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: passed - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent b34ff7a commit 8711466

File tree

1 file changed

+1
-6
lines changed
  • lib/node_modules/@stdlib/time/duration2ms/test

1 file changed

+1
-6
lines changed

lib/node_modules/@stdlib/time/duration2ms/test/test.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ tape( 'the function throws an error if not provided a duration string', function
4646
[],
4747
{},
4848
function noop() {},
49+
'',
4950
'2x',
5051
'1w1d',
5152
'1y3w12d'
@@ -85,9 +86,3 @@ tape( 'the function converts a duration string to milliseconds', function test(
8586
}
8687
t.end();
8788
});
88-
89-
tape( 'the function returns `0` if provided an empty string', function test( t ) {
90-
var ms = duration2ms( '' );
91-
t.equal( ms, 0, 'returns 0' );
92-
t.end();
93-
});

0 commit comments

Comments
 (0)