I removed all global state from Lapis. I can recreate the Lapis API with Internal.new() now which means each test is using a different Lapis instance. This is to ensure that tests are not affecting each other. This should also make it easier to test auto saving.
I can also potentially run tests at the same time (would require a new testing library) which would allow me to get rid of SUPER_SPEED tests and save on a lot of over-engineering.
I removed all global state from Lapis. I can recreate the Lapis API with
Internal.new()
now which means each test is using a different Lapis instance. This is to ensure that tests are not affecting each other. This should also make it easier to test auto saving.I can also potentially run tests at the same time (would require a new testing library) which would allow me to get rid of SUPER_SPEED tests and save on a lot of over-engineering.