Clarifai / clarifai-javascript

Official Clarifai JavaScript client for browsers and node.js
https://docs.clarifai.com
Other
350 stars 81 forks source link

update for change in PR-12256 #50

Closed YvetteClarifai closed 4 years ago

YvetteClarifai commented 4 years ago

the models-int-test needs to be updated because of this recent commit in master (https://github.com/Clarifai/clarifai/pull/12256/) The api-client-test is failing because it tries to train a model without any input (here: https://github.com/Clarifai/clarifai-javascript/blob/b9f3b02a38476da0cf56d7844112e3a51403285e/tests/integration/models-int-tests.js#L66). In this PR, instead of checking that the new model-version is created, if an error is thrown is checked.