Skip to content

Commit 2f869d8

Browse files
committed
style(generic): fixed typos
1 parent f01f990 commit 2f869d8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/util/ora-handler.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ class MockOra {
88
stop() { return this; }
99
}
1010

11-
const asyncOra = (initalOraValue, asyncFn, processExitFn = process.exit) => {
11+
const asyncOra = (initialOraValue, asyncFn, processExitFn = process.exit) => {
1212
let fnOra = new MockOra();
1313
if (asyncOra.interactive) {
14-
fnOra = ora(initalOraValue).start();
14+
fnOra = ora(initialOraValue).start();
1515
}
1616
return new Promise((resolve, reject) => {
1717
asyncFn(fnOra).then(() => {

test/fast/ora-handler_spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ describe('asyncOra', () => {
4040
}).default;
4141
});
4242

43-
it('should create an ora with an inital value', () => {
43+
it('should create an ora with an initial value', () => {
4444
asyncOra('say this first', async () => {});
4545
expect(currentOra).to.not.equal(undefined);
4646
expect(currentOra.text).to.equal('say this first');

0 commit comments

Comments
 (0)