// // import { UAParser } from "ua-parser-js"; // // const parsed = new UAParser().getBrowser(); // const name = "Chrome" as string; // const version = 121; // function is(browser, above?): boolean { // return false; // // above = above || 0; // // return name.includes(browser) && version >= above; // } // function isnt(browser, below?): boolean { // below = below || Infinity; // return !(name.includes(browser) && version <= below); // } // function isntVersion(browser, browserVersion?): boolean { // return name.includes(browser) && version !== browserVersion; // } // // if the tests run in focus // // export const ONLINE_TESTING = isntVersion("Chrome", 71); // // firefox does not invoke AudioBufferSourceNode.onended in the offline context // // export const OFFLINE_BUFFERSOURCE_ONENDED = isnt("Firefox");