tensorflow/tfjs-tsne

Update tests with the new API

Closed this issue · 1 comments

Update tests with the new API

@tafsiri I need some help with the tests :/

These are the main issues (excluding the async functions):
"src/tsne_optimizer.ts(305,64): error TS2705: An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your --lib option."

"examples/synthetic_data/index.ts(26,16): error TS2705: An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your --lib option."

It seems that they depend on the tsconfig.json file, am I right?
Can you help me with those?

I pushed a branch update-test where I commented the tests that create issues with the async functions.
Once that the compiling errors are fixed I'll get back to updating the tests.