Posts by user8955046 • 21 points
4 posts
-
0
votes0
answers10
viewsQ: Not operator does not work on typeorm
I am using typeorm in my Ode app and mongodb database. I have only one collection called "users" and have a route to get all users except me. So, here’s my code: const foundUsers = await…
-
0
votes0
answers18
viewsQ: jest mockImplementation does not work in React navigation (React Nactivate)
I have the following code: jest.mock('@react-navigation/native', () => { return { useNavigation: mockedNavigation, }; }); ... it('should pass the test', async () => {…
-
0
votes0
answers74
viewsQ: Why is the typeorm find method returning me a string instead of an array?
I have a tool modem as it lies below: import { Entity, Column, PrimaryGeneratedColumn, CreateDateColumn, UpdateDateColumn, OneToMany, } from 'typeorm'; import OrdersTools from './OrdersTools';…
-
1
votes1
answer4310
viewsQ: How to use custom fonts in React?
I’m getting the following error: TypeError:name.includes is not a function This error occurs when I add the following code snippet: fontFamily: fonts.regular App.js const fontConfig = { default: {…