| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 84ae59e commit f679ac1
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -45,7 +45,9 @@ common.crashOnUnhandledRejection(); | |||
| 45 | 45 | test_promise.concludeCurrentPromise(Promise.resolve('chained answer'), true); | |
| 46 | 46 | } | |
| 47 | 47 | ||
| 48 | - assert.strictEqual(test_promise.isPromise(test_promise.createPromise()), true); | ||
| 48 | + const promiseTypeTestPromise = test_promise.createPromise(); | ||
| 49 | + assert.strictEqual(test_promise.isPromise(promiseTypeTestPromise), true); | ||
| 50 | + test_promise.concludeCurrentPromise(undefined, true); | ||
| 49 | 51 | ||
| 50 | 52 | const rejectPromise = Promise.reject(-1); | |
| 51 | 53 | const expected_reason = -1; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments