File tree Expand file tree Collapse file tree 2 files changed +34
-4
lines changed Expand file tree Collapse file tree 2 files changed +34
-4
lines changed Original file line number Diff line number Diff line change 33# Changelog
44
55- [ Changelog] ( #changelog )
6- - [ 3.10 .0] ( #3100 )
6+ - [ 3.11 .0] ( #3110 )
77 - [ New Features] ( #new-features )
88 - [ Bug Fixes] ( #bug-fixes )
99 - [ Documentation] ( #documentation )
1010 - [ 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 )
1116 - [ Previous versions] ( #previous-versions )
1217
1318<!-- END doctoc generated TOC please keep comment here to allow auto update -->
@@ -47,6 +52,26 @@ VS Code v0.00.0
4752
4853-->
4954
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+
5075## 3.10.0
5176
5277VS Code v1.56
Original file line number Diff line number Diff line change @@ -3,8 +3,13 @@ import { getEnvPaths } from "../../../src/node/util"
33describe ( "getEnvPaths" , ( ) => {
44 it ( "should return an object with the data, config and runtime path" , ( ) => {
55 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+ } )
914 } )
1015} )
You can’t perform that action at this time.
0 commit comments