Skip to content

Testing#16

Merged
cubap merged 10 commits into
mainfrom
testing
Feb 21, 2022
Merged

Testing#16
cubap merged 10 commits into
mainfrom
testing

Conversation

@cubap

@cubap cubap commented Feb 18, 2022

Copy link
Copy Markdown
Member

Start the testing harness for TinyThings in Node with Jest.

@cubap cubap requested a review from thehabes February 18, 2022 22:07
@cubap

cubap commented Feb 18, 2022

Copy link
Copy Markdown
Member Author

FYI, includes your bryan-testing branch

Comment thread tokens.js
@@ -1,4 +1,5 @@
require('dotenv').config()
import fetch from 'node-fetch'

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

something here is bad news bears and I had to comment it out for the moment in app.js

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yeah I noticed. That's OK, we will figure it out. It's a deep cut Node thing.

@thehabes thehabes left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The only thing I noticed is that you are using got for all your fetch moments. Is that something you hope we continue to use in the future? I am not using got in my code, for example. I am just using fetch()es.

@cubap

cubap commented Feb 21, 2022

Copy link
Copy Markdown
Member Author

yeah. got works and node-fetch is causing some grief right now. I may get rid of that in the tokens.js to prevent trouble.

@cubap cubap merged commit 49387a5 into main Feb 21, 2022
@cubap cubap deleted the testing branch February 21, 2022 22:10
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