mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Signed-off-by: Roman <ixrock@gmail.com> Co-authored-by: Sebastian Malton <sebastian@malton.name> Co-authored-by: Sebastian Malton <smalton@mirantis.com> Co-authored-by: Lauri Nevala <lauri.nevala@gmail.com> Co-authored-by: Alex Andreev <alex.andreev.email@gmail.com>
18 lines
327 B
TypeScript
18 lines
327 B
TypeScript
module.exports = {
|
|
require: jest.fn(),
|
|
match: jest.fn(),
|
|
app: {
|
|
getVersion: jest.fn().mockReturnValue("3.0.0"),
|
|
getLocale: jest.fn().mockRejectedValue("en"),
|
|
getPath: jest.fn((name: string) => {
|
|
return "tmp"
|
|
}),
|
|
},
|
|
remote: {
|
|
app: {
|
|
getPath: jest.fn()
|
|
}
|
|
},
|
|
dialog: jest.fn()
|
|
};
|