mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-14 18:12:09 +08:00
test: fix failing test & update snapshots
This commit is contained in:
@ -20,7 +20,7 @@ jest.mock('path', () => {
|
||||
...path,
|
||||
resolve(...args) {
|
||||
if (args[0] === '__jest__') {
|
||||
return path.join(...args);
|
||||
return path.join(...args.filter(Boolean));
|
||||
}
|
||||
|
||||
const resolved = path.resolve(...args);
|
||||
|
Reference in New Issue
Block a user