diff --git a/README.md b/README.md index 1fd9576a..6687afef 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ [![npm](https://img.shields.io/badge/npm-2.42.2-blue.svg)](https://www.npmjs.com/package/jquery.terminal) ![bower](https://img.shields.io/badge/bower-2.42.2-yellow.svg) [![Build and test](https://github.com/jcubic/jquery.terminal/actions/workflows/build.yaml/badge.svg?branch=master&event=push)](https://github.com/jcubic/jquery.terminal/actions/workflows/build.yaml) -[![Coverage Status](https://coveralls.io/repos/github/jcubic/jquery.terminal/badge.svg?branch=master&178e403b5b01bf07acdcbd8a0f64c147)](https://coveralls.io/github/jcubic/jquery.terminal?branch=master) +[![Coverage Status](https://coveralls.io/repos/github/jcubic/jquery.terminal/badge.svg?branch=master&3f75f3bdbaab431e0f8836338339f290)](https://coveralls.io/github/jcubic/jquery.terminal?branch=master) ![NPM Downloads](https://img.shields.io/npm/dm/jquery.terminal.svg?style=flat) [![jsDelivr Downloads](https://data.jsdelivr.com/v1/package/npm/jquery.terminal/badge?style=rounded&n=1)](https://www.jsdelivr.com/package/npm/jquery.terminal) [![Paid Support](https://img.shields.io/badge/paid-support-354465.svg)](https://support.jcubic.pl/) diff --git a/__tests__/terminal.spec.js b/__tests__/terminal.spec.js index 3826141a..15e57d06 100644 --- a/__tests__/terminal.spec.js +++ b/__tests__/terminal.spec.js @@ -5294,6 +5294,11 @@ describe('Terminal plugin', function() { await delay(10); expect(output(term)).toEqual(['hello']); }); + // #946 + it('should animate an empty line', async () => { + term.clear(); + await term.echo('hello\n\nworld', { typing: true, delay: 0 }); + }); }); describe('exec', function() {