Sha256: 6ddbee2de1ee87f2f6b54f92f02389074a3bdb78f3b033db5f3eac4a541629f1
Contents?: true
Size: 685 Bytes
Versions: 49
Compression:
Stored size: 685 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
49 entries across 49 versions & 1 rubygems