Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/trekhleb/javascript-algorithms
/ Queue.test.js
File
Queue.test.js
src/data-structures/queue/__test__/Queue.test.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
Queue from
'../Queue'
;
2
3
describe(
'Queue'
, () => {
4
it(
'should create empty queue'
, () => {
Callers
nothing calls this directly
Calls
5
enqueue
Method · 0.80
dequeue
Method · 0.80
toString
Method · 0.45
peek
Method · 0.45
isEmpty
Method · 0.45
Tested by
no test coverage detected