Open in app

Sign In

Write

Sign In

remarkablemark
remarkablemark

219 Followers

Home

About

Jun 6

How to test Redux Toolkit Query with Jest and React Testing Library

This article goes over how to test RTK Query API with Jest and React Testing Library. Prerequisites Install and set up: @testing-library/react jest-fetch-mock jest Enable jest-fetch-mock in setupTests: // src/setupTests.ts import fetchMock from 'jest-fetch-mock'; fetchMock.enableMocks(); We’ll be testing RTK Query’s createApi example. This means the auto-generated React hook is exported from…

Redux

2 min read

How to test Redux Toolkit Query with Jest and React Testing Library
How to test Redux Toolkit Query with Jest and React Testing Library
Redux

2 min read


Apr 17

3 traits of highly successful programmers

Highly successful programmers are: Curious Scientific Disciplined Curious

Programming

2 min read

3 traits of highly successful programmers
3 traits of highly successful programmers
Programming

2 min read


Feb 24

How to write Detox tests in TypeScript

This article goes over how to write Detox tests in TypeScript. Prerequisites You have a React Native project with Detox set up. Setup Install the typings for detox and jest: yarn add --dev @types/detox @types/jest In Detox version 18.1.0 and higher, you don’t need to install @types/detox since Detox provides its own…

Detox

1 min read

How to write Detox tests in TypeScript
How to write Detox tests in TypeScript
Detox

1 min read


Feb 20

How to run Detox tests on GitHub Actions

This post goes over how to set up and run React Native Detox tests on GitHub Actions. Prerequisites You have a React Native project with Detox set up. iOS Create a GitHub Actions workflow named e2e-ios.yml: mkdir -p .github/workflows && touch .github/workflows/e2e-ios.yml Name your workflow, set up the event that triggers the…

Detox

5 min read

How to run Detox tests on GitHub Actions
How to run Detox tests on GitHub Actions
Detox

5 min read


Dec 20, 2022

Why job interview take home assignments don’t work

Job interview take home assignments don’t work for the following reasons: Time Effort Quality Time Take home assignments usually have an expected time limit of 30 minutes to 1 hour. But candidates end up spending more time on them. If you’re interviewing at several companies while maintaining a full-time job, where…

Jobs

3 min read

Why job interview take home assignments don’t work
Why job interview take home assignments don’t work
Jobs

3 min read


Dec 19, 2022

How to make important decisions

6 strategies on how to make important decisions: Write it down Address your feelings Compare alternatives Sweeten the deal Talk to others Flip a coin Write it down Put your thoughts down in writing. This takes the intangible out of your mind and makes it tangible. This is inspired by CBT or Cognitive…

Decision Making

3 min read

How to make important decisions
How to make important decisions
Decision Making

3 min read


Dec 15, 2022

Why OpenAI is the future

OpenAI, a research institute and technology company dedicated to advancing artificial intelligence, is undoubtedly the future of AI. Founded in 2015 by some of the most renowned and respected figures in the tech industry, including Elon Musk and Sam Altman, OpenAI has quickly established itself as a leader…

OpenAI

3 min read

Why OpenAI is the future
Why OpenAI is the future
OpenAI

3 min read


Nov 22, 2022

Why you should open source

Why should you open source? Here are some reasons: Community Skills Recognition Monetary Community

Open Source

2 min read

Why you should open source
Why you should open source
Open Source

2 min read


Nov 21, 2022

When it’s time to quit your job

How do you know when it’s time to quit your job? When the following are true: Unhappy No growth New opportunity Unhappy

Careers

2 min read

When it’s time to quit your job
When it’s time to quit your job
Careers

2 min read


Oct 10, 2022

How to run standup

This article goes over how to run standup — a recurring Agile meeting. Before Standup If you’re doing Scrum or Kanban in Jira, then it may be useful to create a board filter that: includes high priority tickets (e.g., P0, P1, P2) includes tickets being worked on by your team excludes tickets…

Agile

3 min read

How to run standup
How to run standup
Agile

3 min read

remarkablemark

remarkablemark

219 Followers

remarkablemark.org

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams