-
Notifications
You must be signed in to change notification settings - Fork 3.1k
/
cache_spec.js
37 lines (33 loc) · 1.59 KB
/
cache_spec.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
exports['lib/tasks/cache .clear deletes cache folder and everything inside it 1'] = `
[no output]
`
exports['lib/tasks/cache .list lists all versions of cached binary 1'] = `
┌─────────┬───────────┐
│ version │ last used │
├─────────┼───────────┤
│ 1.2.3 │ unknown │
├─────────┼───────────┤
│ 2.3.4 │ unknown │
└─────────┴───────────┘
`
exports['lib/tasks/cache .path lists path to cache 1'] = `
/.cache/Cypress
`
exports['lib/tasks/cache .list lists all versions of cached binary with last access 1'] = `
┌─────────┬──────────────┐
│ version │ last used │
├─────────┼──────────────┤
│ 1.2.3 │ 3 months ago │
├─────────┼──────────────┤
│ 2.3.4 │ 5 days ago │
└─────────┴──────────────┘
`
exports['lib/tasks/cache .list some versions have never been opened 1'] = `
┌─────────┬──────────────┐
│ version │ last used │
├─────────┼──────────────┤
│ 1.2.3 │ 3 months ago │
├─────────┼──────────────┤
│ 2.3.4 │ unknown │
└─────────┴──────────────┘
`