import { Compare, Plot } from "@tonejs/plot"; import { expect } from "chai"; import { BasicTests, testAudioContext } from "test/helper/Basic"; import { atTime, Offline } from "test/helper/Offline"; import { SCHEDULE_RAMP_AFTER_SET_TARGET } from "test/helper/Supports"; import { BPM, Decibels, Frequency, Positive, Seconds, Time, Unit, UnitName } from "Tone/core/type/Units"; import { Signal } from "Tone/signal/Signal"; import { getContext } from "../Global"; import { Param } from "./Param"; import { connect } from "./ToneAudioNode"; const audioContext = getContext(); describe("Param", () => { BasicTests(Param, { context: testAudioContext, param: testAudioContext.createOscillator().frequency, }); context("constructor", () => { it("can be created and disposed", async () => { await Offline(context => { const param = new Param