We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d8262b commit fe12bd4Copy full SHA for fe12bd4
test-d/implementation-result.ts
@@ -0,0 +1,25 @@
1
+import test from '..';
2
+
3
+test('return a promise-like', t => {
4
+ return {
5
+ then(resolve) {
6
+ resolve?.();
7
+ }
8
+ };
9
+});
10
11
+test('return a subscribable', t => {
12
13
+ subscribe({complete}) {
14
+ complete();
15
16
17
18
19
+test('return anything else', t => {
20
21
+ foo: 'bar',
22
+ subscribe() {},
23
+ then() {}
24
25
0 commit comments