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.
2 parents e268dbf + 46e92aa commit 92e451dCopy full SHA for 92e451d
greenlet.test.js
@@ -7,14 +7,14 @@ describe('greenlet', () => {
7
expect(g()).toEqual(jasmine.any(Promise));
8
});
9
10
- it('should invoke sync funtions', async () => {
+ it('should invoke sync functions', async () => {
11
let foo = greenlet( a => 'foo: '+a );
12
13
let ret = await foo('test');
14
expect(ret).toEqual('foo: test');
15
16
17
- it('should invoke async funtions', async () => {
+ it('should invoke async functions', async () => {
18
let bar = greenlet( a => new Promise( resolve => {
19
resolve('bar: '+a);
20
}));
0 commit comments