playing-cards
Version:
A playing cards module.
15 lines (12 loc) • 321 B
JavaScript
function importTest (name, path) {
describe(name, function () {
require(path)
})
}
describe('playing-cards', function () {
importTest('Card', './card.test.js')
importTest('Deck', './deck.test.js')
importTest('Player', './player.test.js')
importTest('DECK_TYPES', './deck-types.test.js')
})