Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace browser-core with ghostery-common #644

Merged
merged 3 commits into from Dec 14, 2020
Merged
Changes from 1 commit
Commits
File filter
Filter file types
Jump to
Jump to file
Failed to load files.

Always

Just for now

Update test mock target

  • Loading branch information
sammacbeth committed Dec 11, 2020
commit 146dfdf6f21f6abba35bb2dc0274095fc7bed525
@@ -48,7 +48,7 @@ import { _getJSONAPIErrorsObject } from './utils/api';
import importCliqzSettings from './utils/cliqzSettingImport';
import { sendCliqzModuleCounts } from './utils/cliqzModulesData';

// For debug purposes, provide Access to the internals of `browser-core`
// For debug purposes, provide Access to the internals of `ghostery-common`
// module from Developer Tools Console.
window.CLIQZ = cliqz;

@@ -65,7 +65,7 @@ jest.mock('../src/classes/Cliqz', () => ({
}));

// Create Mock for the Cliqz dependencies
jest.mock('browser-core', () => ({ App: class App {} }));
jest.mock('ghostery-common', () => ({ App: class App {} }));

// Initialization for Globals.js
Object.defineProperty(navigator, 'userAgent', {
ProTip! Use n and p to navigate between commits in a pull request.