Linking in tables

I have a table on my site where the each row is linked to its corresponding dynamic page. Currently when selecting a row, the page opens in the same window.
How can I change my code so that when selecting a row it opens in a new tab?
Thanks

export function testTable_rowSelect(event) {
    if(userLoggedIn){
        let index = event.rowIndex;
        let test = currentTableContent[index];
        wixLocation.to("/tests/"+test.title);
    }
}