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.159 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.158 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.157 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.156 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.155 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.154 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.153 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.152 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.151 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.150 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.149 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.148 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.147 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.146 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.145 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.144 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.143 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.142 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.141 tracks/typescript/exercises/acronym/acronym.test.ts
trackler-2.2.1.140 tracks/typescript/exercises/acronym/acronym.test.ts