This repository contains a JavaScript implementation of a Queue data structure inspired by Princeton's Intro to Programming. You are the developer and must write robust unit tests using Jest.
Bug: The
dequeue()
method does not throw an error when called on an empty queue. This violates expected behavior and must be caught through testing.