setUp method

Future<void> setUp()

Invoke within a group as setUp(mock.setUp).

It is critical to recreate the server for each test to ensure that there are no collisions from responses that were configured in prior tests.

Implementation

Future<void> setUp() async {
  server = await HttpServer.bind('localhost', 0);
  client = SupabaseClient(serverUrl, apiKey);
}