PromiseKit/Tests/JS-A+/package.json
Loïs Di Qual 65f020801e Add official Promises/A+ compliance test suite (#805)
* Library exports properly

* A bit of progress

* Try emitting mocha events

* Progress

* Progress is real

* All tests now show

* All tests run

* Proper formatting

* Proper XCTFail

* Some progress with adapters

* Not sure what's up

* Tests run with new adapter

* Add then function

* Good progress on interface

* Lots of tests now pass

* Validate onFulfilled / onRejected before calling them

* Cleanup test file

* Add todo

* Move MockNodeEnvironment to proper folder

* Use invokeMethod to call pure functions

* Fix timers

* Add some debugging

* Fix timeouts

* Catch errors when calling handlers

* Move JSPromise to own file

* Refactor JSPromise to use then/catch

* Add a bit of doc

* Catch exceptions thrown by handlers, the proper way

* Consolidate stacktrace printing

* Add availability checks

* Fully comply to 2.2.7.1

* Allow only running one test

* Add isFunction checks

* Enable 2.3.1 only for now

* Add ignored tests, handle promises as return value

* Report failures back to swift layer

* Move adapter to own file

* Use dev mode in webpack config

* More doc

* Refactor a bit

* More stuff in JSUtils

* More doc

* Add readme

* Remove some whitespace

* Add typeError func

* Use on:nil in second then

* Throw TypeError when needed

* Comment fix

* Make test suite iOS 8+ compatible

* Fix Swift 4 compile

* Fix Swift 3.1 compile

* Use babel to transpile to ES5, adds support to iOS 8/9

* Move JSUtils to proper folder

* Fix warning

* Simplify format printing

* Add 3.2 split support back

* Slight improvement

* Revert console.log format solution

* Use a reasonable timeout

* Add omittingEmptySubsequences support for 3.1
2018-03-07 09:13:00 -05:00

18 lines
385 B
JSON

{
"scripts": {
"build": "webpack-cli",
"watch": "webpack-cli --watch --mode development"
},
"dependencies": {
"babel-core": "^6.26.0",
"babel-loader": "^7.1.3",
"babel-preset-env": "^1.6.1",
"lodash": "^4.17.5",
"mocha": "^5.0.1",
"promises-aplus-tests": "^2.1.2",
"sinon": "^4.4.2",
"webpack": "^4.0.1",
"webpack-cli": "^2.0.9"
}
}