Skip to content

Commit

Permalink
fix: spelling error (#170)
Browse files Browse the repository at this point in the history
Co-authored-by: Forbes Lindesay <[email protected]>
  • Loading branch information
ryuever and ForbesLindesay authored Aug 31, 2022
1 parent d435c5e commit ab8c026
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion test/adapter-a.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
var Promise = require('../');


exports.deferred = function () {
var resolve, reject;
var promise = new Promise(function (_resolve, _reject) {
Expand Down
4 changes: 2 additions & 2 deletions test/extensions-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ var sentinel = {}
var promise = new Promise(function (resolve) {
resolve(sentinel)
})
var thenable = {then: function (fullfilled, rejected) { fullfilled(sentinel) }}
var thenableRejected = {then: function (fullfilled, rejected) { rejected(sentinel) }}
var thenable = {then: function (fulfilled, rejected) { fulfilled(sentinel) }}
var thenableRejected = {then: function (fulfilled, rejected) { rejected(sentinel) }}

var a = {}
var b = {}
Expand Down
6 changes: 3 additions & 3 deletions test/nested-promises.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var assert = require('assert');
var Promise = require('../');

describe('nested promises', function () {
it('does not result in any wierd behaviour - 1', function (done) {
it('does not result in any weird behaviour - 1', function (done) {
var resolveA, resolveB, resolveC;
var A = new Promise(function (resolve, reject) {
resolveA = resolve;
Expand All @@ -23,7 +23,7 @@ describe('nested promises', function () {
done();
});
});
it('does not result in any wierd behaviour - 2', function (done) {
it('does not result in any weird behaviour - 2', function (done) {
var resolveA, resolveB, resolveC, resolveD;
var A = new Promise(function (resolve, reject) {
resolveA = resolve;
Expand All @@ -47,7 +47,7 @@ describe('nested promises', function () {
done();
});
});
it('does not result in any wierd behaviour - 2', function (done) {
it('does not result in any weird behaviour - 2', function (done) {
var promises = [];
var resolveFns = [];
for (var i = 0; i < 100; i++) {
Expand Down

0 comments on commit ab8c026

Please sign in to comment.