Skip to content
  • Home
  • State Business Leads
  • Real Estate Data
  • Secretary Of State API
Cobalt Intelligence

Cobalt Intelligence

Data mining and web automation.

You Are Here
  • Home
  • Unit Tests

Category: Unit Tests

Jordan Mocks Puppeteer with Jest
April 20, 2020April 14, 2020 Jordan Hansen

Jordan Mocks Puppeteer with Jest

Unit Tests

Demo code here Go ahead right now and google “Unit testing Puppeteer scripts”. Do it. The results…are good. If you are trying to use Puppeteer

Read More
Jordan Figures Out Why His Spies Weren’t Spying
July 8, 2019July 4, 2019 Jordan Hansen

Jordan Figures Out Why His Spies Weren’t Spying

Link Checking, Unit Tests

Sample code here Last post I went through all of the code of the link checker to try and productize it. I wanted it to

Read More
March 11, 2019March 6, 2019 Jordan Hansen

Jordan Automates Builds and Testing with Travis-CI

Unit Tests, Web Scraping

Demo Code Here I talked a lot about unit testing last week. I really feel that unit testing is a critical part of maintaining code.

Read More
Jordan Unit Tests Web Scraping Done with Request
March 4, 2019March 3, 2019 Jordan Hansen

Jordan Unit Tests Web Scraping Done with Request

Unit Tests, Web Scraping

Demo code here Okay, it’s not actually request I’m testing here but request-promise. I am just going to test the code I built last week

Read More
All Right Reserved 2019