forked from eddyerburgh/jest-serializer-vue
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpostinstall.js
More file actions
19 lines (19 loc) · 1.02 KB
/
postinstall.js
File metadata and controls
19 lines (19 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
let message = `
╭────────────────────────────────────────────────────────────────╮
│ │
│ jest-serializer-vue-tjw is deprecated. │
│ │
│ Switch to vue3-snapshot-serializer. │
│ │
╰────────────────────────────────────────────────────────────────╯
`;
if (process.platform === 'win32') {
message = message
.split('╭').join(' ')
.split('╮').join('')
.split('╰').join('|')
.split('╯').join('|')
.split('│').join('|')
.split('─').join('_');
}
console.log(message);