Sha256: 675be1492d453586e6d8b1a4bbb6e87aa6cef71809baf4c4e5cc4b91cd24fe05

Contents?: true

Size: 572 Bytes

Versions: 208

Compression:

Stored size: 572 Bytes

Contents

import score from './scrabble-score';

describe('Scrabble', function() {
  it('scores an empty word as zero',() => expect(score('')).toEqual(0));

  xit('scores a null as zero',() => expect(score(null)).toEqual(0));

  xit('scores a very short word',() => expect(score('a')).toEqual(1));

  xit('scores the word by the number of letters', () => expect(score('street')).toEqual(6));

  xit('scores more complicated words with more',() => expect(score('quirky')).toEqual(22));

  xit('scores case insensitive words',() => expect(score('OXYPHENBUTAZONE')).toEqual(41));

});

Version data entries

208 entries across 208 versions & 1 rubygems

Version Path
trackler-2.1.0.53 tracks/ecmascript/exercises/scrabble-score/scrabble-score.spec.js
trackler-2.1.0.52 tracks/ecmascript/exercises/scrabble-score/scrabble-score.spec.js
trackler-2.1.0.51 tracks/ecmascript/exercises/scrabble-score/scrabble-score.spec.js
trackler-2.1.0.50 tracks/ecmascript/exercises/scrabble-score/scrabble-score.spec.js
trackler-2.1.0.49 tracks/ecmascript/exercises/scrabble-score/scrabble-score.spec.js
trackler-2.1.0.48 tracks/ecmascript/exercises/scrabble-score/scrabble-score.spec.js
trackler-2.1.0.47 tracks/ecmascript/exercises/scrabble-score/scrabble-score.spec.js
trackler-2.1.0.46 tracks/ecmascript/exercises/scrabble-score/scrabble-score.spec.js
trackler-2.1.0.45 tracks/ecmascript/exercises/scrabble-score/scrabble-score.spec.js
trackler-2.1.0.44 tracks/ecmascript/exercises/scrabble-score/scrabble-score.spec.js
trackler-2.1.0.43 tracks/ecmascript/exercises/scrabble-score/scrabble-score.spec.js
trackler-2.1.0.42 tracks/ecmascript/exercises/scrabble-score/scrabble-score.spec.js
trackler-2.1.0.41 tracks/ecmascript/exercises/scrabble-score/scrabble-score.spec.js
trackler-2.1.0.40 tracks/ecmascript/exercises/scrabble-score/scrabble-score.spec.js
trackler-2.1.0.39 tracks/ecmascript/exercises/scrabble-score/scrabble-score.spec.js
trackler-2.1.0.38 tracks/ecmascript/exercises/scrabble-score/scrabble-score.spec.js
trackler-2.1.0.37 tracks/ecmascript/exercises/scrabble-score/scrabble-score.spec.js
trackler-2.1.0.36 tracks/ecmascript/exercises/scrabble-score/scrabble-score.spec.js
trackler-2.1.0.34 tracks/ecmascript/exercises/scrabble-score/scrabble-score.spec.js
trackler-2.1.0.33 tracks/ecmascript/exercises/scrabble-score/scrabble-score.spec.js