File tree Expand file tree Collapse file tree 2 files changed +15
-11
lines changed Expand file tree Collapse file tree 2 files changed +15
-11
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ export const httpProxyUri =
32
32
// getVersionString returns a human-readable version string suitable
33
33
// for outputting to the console.
34
34
export function getVersionString ( ) : string {
35
- return [ version , commit ] . join ( " " )
35
+ return [ version , commit ] . join ( " " )
36
36
}
37
37
38
38
// getVersionJsonString returns a machine-readable version string
Original file line number Diff line number Diff line change @@ -64,11 +64,13 @@ describe("constants", () => {
64
64
} )
65
65
66
66
it ( "should return a machine-readable version string" , ( ) => {
67
- expect ( constants . getVersionJsonString ( ) ) . toStrictEqual ( JSON . stringify ( {
68
- codeServer : mockPackageJson . version ,
69
- commit : mockPackageJson . commit ,
70
- vscode : mockCodePackageJson . version ,
71
- } ) )
67
+ expect ( constants . getVersionJsonString ( ) ) . toStrictEqual (
68
+ JSON . stringify ( {
69
+ codeServer : mockPackageJson . version ,
70
+ commit : mockPackageJson . commit ,
71
+ vscode : mockCodePackageJson . version ,
72
+ } ) ,
73
+ )
72
74
} )
73
75
74
76
describe ( "getPackageJson" , ( ) => {
@@ -126,11 +128,13 @@ describe("constants", () => {
126
128
} )
127
129
128
130
it ( "should return a machine-readable version string" , ( ) => {
129
- expect ( constants . getVersionJsonString ( ) ) . toStrictEqual ( JSON . stringify ( {
130
- codeServer : "development" ,
131
- commit : "development" ,
132
- vscode : "development" ,
133
- } ) )
131
+ expect ( constants . getVersionJsonString ( ) ) . toStrictEqual (
132
+ JSON . stringify ( {
133
+ codeServer : "development" ,
134
+ commit : "development" ,
135
+ vscode : "development" ,
136
+ } ) ,
137
+ )
134
138
} )
135
139
} )
136
140
} )
You can’t perform that action at this time.
0 commit comments