@vizzly-testing/cli 0.22.0 → 0.22.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -356,8 +356,8 @@ export function isVizzlyReady() {
356
356
  * @param {boolean} [config.enabled] - Enable/disable screenshots
357
357
  */
358
358
  export function configure(config = {}) {
359
- if (config.serverUrl) {
360
- currentClient = createSimpleClient(config.serverUrl);
359
+ if ('serverUrl' in config) {
360
+ currentClient = config.serverUrl ? createSimpleClient(config.serverUrl) : null;
361
361
  }
362
362
  if (typeof config.enabled === 'boolean') {
363
363
  setVizzlyEnabled(config.enabled);