Sha256: 00add4519d980b35f93b07ac0f9b497668a5036582d46608385027b98cf71956

Contents?: true

Size: 450 Bytes

Versions: 24

Compression:

Stored size: 450 Bytes

Contents

describe('sync mode', () => {
  it('can choose server mode', () => {
    mumuki.incognitoUser = false;
    mumuki.syncMode._selectSyncMode();

    expect(mumuki.syncMode._current instanceof mumuki.syncMode.ServerSyncMode).toBe(true);
  })

  it('can choose local mode', () => {
    mumuki.incognitoUser = true;
    mumuki.syncMode._selectSyncMode();

    expect(mumuki.syncMode._current instanceof mumuki.syncMode.ClientSyncMode).toBe(true);
  })
})

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
mumuki-laboratory-8.4.0 spec/javascripts/sync-mode-spec.js
mumuki-laboratory-8.3.0 spec/javascripts/sync-mode-spec.js
mumuki-laboratory-8.2.1 spec/javascripts/sync-mode-spec.js
mumuki-laboratory-8.2.0 spec/javascripts/sync-mode-spec.js
mumuki-laboratory-8.1.3 spec/javascripts/sync-mode-spec.js
mumuki-laboratory-8.1.2 spec/javascripts/sync-mode-spec.js
mumuki-laboratory-8.1.1 spec/javascripts/sync-mode-spec.js
mumuki-laboratory-8.1.0 spec/javascripts/sync-mode-spec.js
mumuki-laboratory-7.12.3 spec/javascripts/sync-mode-spec.js
mumuki-laboratory-8.0.0 spec/javascripts/sync-mode-spec.js
mumuki-laboratory-7.12.1 spec/javascripts/sync-mode-spec.js
mumuki-laboratory-7.12.0 spec/javascripts/sync-mode-spec.js
mumuki-laboratory-7.11.1 spec/javascripts/sync-mode-spec.js
mumuki-laboratory-7.11.0 spec/javascripts/sync-mode-spec.js
mumuki-laboratory-7.10.5 spec/javascripts/sync-mode-spec.js
mumuki-laboratory-7.10.4 spec/javascripts/sync-mode-spec.js
mumuki-laboratory-7.10.3 spec/javascripts/sync-mode-spec.js
mumuki-laboratory-7.10.2 spec/javascripts/sync-mode-spec.js
mumuki-laboratory-7.10.1 spec/javascripts/sync-mode-spec.js
mumuki-laboratory-7.10.0 spec/javascripts/sync-mode-spec.js