Open mattbucci opened 10 months ago
Current tests test rewrite code directly, it would be good to write tests against the wpdb abstraction as well
This is a bit tricky because if you instantiate wpdb it tries to connect to a database, so we need to spin up an in memory sqlite database or something
Current tests test rewrite code directly, it would be good to write tests against the wpdb abstraction as well