You may use playground.js file to play with data structures and algorithms. The code from playground.js may be tested in ./__test__/playground.test.js file.
To run tests simply run:
npm test -- -t 'playground'