Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Don't wrap the original Promise #45

Merged
merged 2 commits into from
May 17, 2024

Conversation

dubzzz
Copy link
Contributor

@dubzzz dubzzz commented May 17, 2024

PR opened following a discussion with @sheremet-va on #44. I squashed all my commits together before opening the PR.

@dubzzz dubzzz changed the title fix: Don't wrap the original Promise feat: Don't wrap the original Promise May 17, 2024
Copy link
Member

@sheremet-va sheremet-va left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you also want to add a readme? Or should I?

expect(caughtError).toBeInstanceOf(Error)
expect(caughtError?.message).toEqual('async error')
})

test.only('async order preserved', async () => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.only are not allowed, not sure why CI doesn't fail

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woups. I missed it

test/index.test.ts Outdated Show resolved Hide resolved
@dubzzz
Copy link
Contributor Author

dubzzz commented May 17, 2024

Do you also want to add a readme? Or should I?

I can but I'll have a limited availability until Monday included

@dubzzz
Copy link
Contributor Author

dubzzz commented May 17, 2024

And I'll need pointers

@sheremet-va sheremet-va merged commit 4610fe8 into tinylibs:main May 17, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants