Unit Testing presentation logic (JavaScript / jQuery) in Jira Server context

I am planning to start testing my frontend code, the presentation logic which is written in either plain JS or jQuery. But I am unsure on how to get a testing framework running, let alone which framework to use.

On Angular I would have just used Jasmine & Karma but those run with a Node.js server, which isn’t present in a running Jira Server / plugin instance.

Can anyone provide some insight?