test suite: js->ts