Closed timjansen closed 11 years ago
According to the spec, a promise can be either an object or a function. My Promises lib implements promises as a function, which causes test 3.2.6 (promises-aplus-tests/lib/tests/3.2.6.js:20:16) to fail. The test expects the promise to be an object.
Good catch, thank you. Will fix tonight.
According to the spec, a promise can be either an object or a function. My Promises lib implements promises as a function, which causes test 3.2.6 (promises-aplus-tests/lib/tests/3.2.6.js:20:16) to fail. The test expects the promise to be an object.