Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/JavaScript
/ CountSubstrings.test.js
File
CountSubstrings.test.js
String/test/CountSubstrings.test.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ countSubstrings } from
'../CountSubstrings'
2
3
describe(
'CountSubstrings'
, () => {
4
it(
'count multiple occurrences of substring in a string'
, () => {
Callers
nothing calls this directly
Calls
1
countSubstrings
Function · 0.90
Tested by
no test coverage detected