Sha256: be15f445465bec3393b012e6c4bbcc3163f51ac1127fb81d8978afd9d4764796
Contents?: true
Size: 681 Bytes
Versions: 28
Compression:
Stored size: 681 Bytes
Contents
describe('elipsis', () => { it('does nothing when no elipsis', () => { expect(mumuki.elipsis('hello')).toEqual('hello'); }) it('replaces student elipsis', () => { expect(mumuki.elipsis(`function longitud(unString) { /*<elipsis-for-student@*/ return unString.length; /*@elipsis-for-student>*/ }`)).toEqual(`function longitud(unString) { /* ... */ }`) }); it('replaces student hidden', () => { expect(mumuki.elipsis(`function longitud(unString) { /*<hidden-for-student@*/ return unString.length; /*@hidden-for-student>*/ }`)).toEqual(`function longitud(unString) { /**/ }`) }); })
Version data entries
28 entries across 28 versions & 1 rubygems