Aha, `assertThrows` is not `assert.throws`, apparently! Okay, that explains my confusion.