Skip to content

Commit 4ec028a

Browse files
committed
chore: update CHANGELOG
1 parent ac10c96 commit 4ec028a

File tree

2 files changed

+34
-4
lines changed

2 files changed

+34
-4
lines changed

CHANGELOG.md

+26-1
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,16 @@
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

5277
VS Code v1.56

test/unit/node/util.test.ts

+8-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,13 @@ import { getEnvPaths } from "../../../src/node/util"
33
describe("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
})

0 commit comments

Comments
 (0)