Files
example-npm/test/index.test.js
GitHub 6d4d52b5f4 Initial commit
Co-authored-by: Steve Winton <stevewinton@gmail.com>
Co-authored-by: Steve Winton <swinton@users.noreply.github.com>
Co-authored-by: Brandon Keepers <bkeepers@github.com>
2018-10-16 07:49:38 -07:00

9 lines
226 B
JavaScript

const scrabble = require('..');
describe('scrabblescore', () => {
it('calculates the correct score for a word', async () => {
const score = await scrabble.score('oxyphenbutazone');
expect(score).toBe(41);
});
});