mirror of
https://github.com/Feodor2/Mypal68.git
synced 2025-06-18 14:55:44 -04:00
23 lines
833 B
JavaScript
23 lines
833 B
JavaScript
/* Any copyright is dedicated to the Public Domain.
|
|
http://creativecommons.org/publicdomain/zero/1.0/ */
|
|
|
|
"use strict";
|
|
|
|
/* global __dirname */
|
|
|
|
module.exports = {
|
|
verbose: true,
|
|
moduleNameMapper: {
|
|
// Custom name mappers for modules that require m-c specific API.
|
|
"^devtools/client/shared/link": `${__dirname}/fixtures/stub`,
|
|
"^chrome": `${__dirname}/fixtures/Chrome`,
|
|
"^Services": `${__dirname}/fixtures/Services`,
|
|
"^devtools/client/shared/fluent-l10n/fluent-l10n$": `${__dirname}/fixtures/fluent-l10n`,
|
|
"^devtools/client/shared/unicode-url": `${__dirname}/fixtures/unicode-url`,
|
|
// Map all require("devtools/...") to the real devtools root.
|
|
"^devtools\\/(.*)": `${__dirname}/../../../../$1`,
|
|
},
|
|
setupFiles: ["<rootDir>setup.js"],
|
|
snapshotSerializers: ["enzyme-to-json/serializer"],
|
|
};
|