File tree 2 files changed +34
-4
lines changed
2 files changed +34
-4
lines changed Original file line number Diff line number Diff line change 3
3
# Changelog
4
4
5
5
- [ Changelog] ( #changelog )
6
- - [ 3.10 .0] ( #3100 )
6
+ - [ 3.11 .0] ( #3110 )
7
7
- [ New Features] ( #new-features )
8
8
- [ Bug Fixes] ( #bug-fixes )
9
9
- [ Documentation] ( #documentation )
10
10
- [ Development] ( #development )
11
+ - [ 3.10.0] ( #3100 )
12
+ - [ New Features] ( #new-features-1 )
13
+ - [ Bug Fixes] ( #bug-fixes-1 )
14
+ - [ Documentation] ( #documentation-1 )
15
+ - [ Development] ( #development-1 )
11
16
- [ Previous versions] ( #previous-versions )
12
17
13
18
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
@@ -47,6 +52,26 @@ VS Code v0.00.0
47
52
48
53
-->
49
54
55
+ ## 3.11.0
56
+
57
+ VS Code v1.56
58
+
59
+ ### New Features
60
+
61
+ - item
62
+
63
+ ### Bug Fixes
64
+
65
+ - fix(socket): use xdgBasedir.runtime instead of tmp #3304 @jsjoeio
66
+
67
+ ## Documentation
68
+
69
+ - item
70
+
71
+ ## Development
72
+
73
+ - item
74
+
50
75
## 3.10.0
51
76
52
77
VS Code v1.56
Original file line number Diff line number Diff line change @@ -3,8 +3,13 @@ import { getEnvPaths } from "../../../src/node/util"
3
3
describe ( "getEnvPaths" , ( ) => {
4
4
it ( "should return an object with the data, config and runtime path" , ( ) => {
5
5
const actualPaths = getEnvPaths ( )
6
- expect ( actualPaths . hasOwnProperty ( "data" ) ) . toBe ( true )
7
- expect ( actualPaths . hasOwnProperty ( "config" ) ) . toBe ( true )
8
- expect ( actualPaths . hasOwnProperty ( "runtime" ) ) . toBe ( true )
6
+ const expectedProperties = [ "data" , "config" , "runtime" ]
7
+ expectedProperties . forEach ( ( property ) => {
8
+ // This is a funky way to do it rather than calling hasOwnProperty itself
9
+ // We do this because of this eslint rule
10
+ // Link: https://eslint.org/docs/rules/no-prototype-builtins
11
+ const hasProperty = Object . prototype . hasOwnProperty . call ( actualPaths , property )
12
+ expect ( hasProperty ) . toBe ( true )
13
+ } )
9
14
} )
10
15
} )
You can’t perform that action at this time.
0 commit comments