Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitae26777

Browse files
committed
Fmt
1 parentc739f24 commitae26777

File tree

2 files changed

+16
-13
lines changed

2 files changed

+16
-13
lines changed

‎site/src/testHelpers/entities.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1374,7 +1374,10 @@ export const MockEntitlementsWithScheduling: TypesGen.Entitlements = {
13741374
}),
13751375
}
13761376

1377-
exportconstMockExperiments:TypesGen.Experiment[]=["workspace_actions","moons"]
1377+
exportconstMockExperiments:TypesGen.Experiment[]=[
1378+
"workspace_actions",
1379+
"moons",
1380+
]
13781381

13791382
exportconstMockAuditLog:TypesGen.AuditLog={
13801383
id:"fbd2116a-8961-4954-87ae-e4575bd29ce0",
Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
exportconstlocalStorageMock=()=>{
2-
conststore={}asRecord<string,string>;
2+
conststore={}asRecord<string,string>
33

44
return{
5-
getItem:(key:string):string=>{
6-
returnstore[key];
5+
getItem:(key:string):string=>{
6+
returnstore[key]
77
},
8-
setItem:(key:string,value:string)=>{
9-
store[key]=value;
8+
setItem:(key:string,value:string)=>{
9+
store[key]=value
1010
},
11-
clear:()=>{
11+
clear:()=>{
1212
Object.keys(store).forEach((key)=>{
13-
deletestore[key];
14-
});
13+
deletestore[key]
14+
})
15+
},
16+
removeItem:(key:string)=>{
17+
deletestore[key]
1518
},
16-
removeItem:(key:string)=>{
17-
deletestore[key];
18-
}
1919
}
2020
}
2121

22-
Object.defineProperty(window,"localStorage",{value:localStorageMock()});
22+
Object.defineProperty(window,"localStorage",{value:localStorageMock()})

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp