forked from profectus/Profectus
Fix error about persistent value that isn't part of a layer
This commit is contained in:
parent
536b3e0f17
commit
b89c4cde09
1 changed files with 1 additions and 1 deletions
|
@ -979,7 +979,7 @@ describe("Custom Formulas", () => {
|
|||
describe("Buy Max", () => {
|
||||
let resource: Resource;
|
||||
beforeAll(() => {
|
||||
resource = createResource(10);
|
||||
resource = createResource(ref(10));
|
||||
});
|
||||
describe("With spending", () => {
|
||||
test("Throws on formula with non-invertible integral", () => {
|
||||
|
|
Loading…
Reference in a new issue