Fix error about persistent value that isn't part of a layer

This commit is contained in:
thepaperpilot 2023-02-05 00:25:48 -06:00
parent 536b3e0f17
commit b89c4cde09

View file

@ -979,7 +979,7 @@ describe("Custom Formulas", () => {
describe("Buy Max", () => { describe("Buy Max", () => {
let resource: Resource; let resource: Resource;
beforeAll(() => { beforeAll(() => {
resource = createResource(10); resource = createResource(ref(10));
}); });
describe("With spending", () => { describe("With spending", () => {
test("Throws on formula with non-invertible integral", () => { test("Throws on formula with non-invertible integral", () => {