Skip to content

Commit 29259b1

Browse files
committed
Match Parse.Session.d.ts
1 parent cf161b6 commit 29259b1

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

types/tests/ParseSession-tests.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ describe('Parse.Session Type Definitions', () => {
1818
new Parse.Session<{ example: number }>({ example: 'hello' });
1919
});
2020

21+
it('instance methods', () => {
22+
const session = new Parse.Session();
23+
24+
// $ExpectType string
25+
session.getSessionToken();
26+
});
27+
2128
it('static methods', async () => {
2229
// $ExpectType boolean
2330
Parse.Session.isCurrentSessionRevocable();
@@ -31,11 +38,4 @@ describe('Parse.Session Type Definitions', () => {
3138
// $ExpectType ParseSession<{ example: string; }>
3239
await Parse.Session.current<Parse.Session<{ example: string }>>();
3340
});
34-
35-
it('instance methods', () => {
36-
const session = new Parse.Session();
37-
38-
// $ExpectType string
39-
session.getSessionToken();
40-
});
4141
});

0 commit comments

Comments
 (0)