Sha256: b1ec55d5a7bce9ada5c8de671f326e14526298a3c111a2c7d6e1d1581e7095ac

Contents?: true

Size: 815 Bytes

Versions: 152

Compression:

Stored size: 815 Bytes

Contents

import Acronym from './acronym'

describe('Acronym are produced from', () => {
  it('title cased phrases', () => {
    expect(Acronym.parse('Portable Network Graphics')).toEqual('PNG')
  })

  xit('other title cased phrases', () => {
    expect(Acronym.parse('Ruby on Rails')).toEqual('ROR')
  })

  xit('inconsistently cased phrases', () => {
    expect(Acronym.parse('HyperText Markup Language')).toEqual('HTML')
  })

  xit('phrases with punctuation', () => {
    expect(Acronym.parse('First In, First Out')).toEqual('FIFO')
  })

  xit('other phrases with punctuation', () => {
    expect(Acronym.parse('PHP: Hypertext Preprocessor')).toEqual('PHP')
  })

  xit('phrases with punctuation and sentence casing', () => {
    expect(Acronym.parse('Complementary metal-oxide semiconductor')).toEqual('CMOS')
  })
})

Version data entries

152 entries across 152 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.179 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.178 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.177 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.176 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.175 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.174 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.173 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.172 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.171 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.170 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.169 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.167 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.166 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.165 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.164 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.163 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.162 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.161 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.160 tracks/typescript/exercises/acronym/acronym.test.ts