Skip to content

Commit

Permalink
tests(clear): use spinners, not cliSpinners
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy-mitchell committed Mar 18, 2023
1 parent f5353fe commit 7b17ee0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import getStream from 'get-stream';
import test from 'ava';
import stripAnsi from 'strip-ansi';
import TransformTTY from 'transform-tty';
import cliSpinners from 'cli-spinners';
import ora, {oraPromise} from './index.js';
import ora, {oraPromise, spinners} from './index.js';

const spinnerCharacter = process.platform === 'win32' ? '-' : '⠋';
const noop = () => {};
Expand Down Expand Up @@ -666,7 +665,7 @@ test('new clear method, stress test', t => {
const randos = () => rAnDoMaNiMaLs(rando(5, 15), rando(25, 50));

const randomize = (s1, s2) => {
const spnr = cliSpinners.random;
const spnr = spinners.random;
const txt = randos();
const indent = rando(0, 15);

Expand Down

0 comments on commit 7b17ee0

Please sign in to comment.