mitchelst / react-testing-starter Goto Github PK
View Code? Open in Web Editor NEWPart of the "React Testing Crash Course" taught by Mitchel from Techbase
Home Page: https://www.youtube.com/watch?v=OVNjsIto9xM
License: MIT License
Part of the "React Testing Crash Course" taught by Mitchel from Techbase
Home Page: https://www.youtube.com/watch?v=OVNjsIto9xM
License: MIT License
For some reason the content of the page becomes an Iframe and nothing is clickable.
If I delete the Iframe tag it goes back to normal until I refresh the page, but as there is no way to delete a tag in cypress (I haven't search for deleting tags with cypress), I would need a more permanent solution.
Followed the instructions to a T but it keeps giving TS errors
[start:api:watch] [start:api:watch] C:\react-testing-starter\node_modules\ts-node\src\index.ts:587 [start:api:watch] return new TSError(diagnosticText, diagnosticCodes); [start:api:watch] ^ [start:api:watch] TSError: ⨯ Unable to compile TypeScript: [start:api:watch] backend/app.ts(79,11): error TS2769: No overload matches this call. [start:api:watch] The last overload gave the following error. [start:api:watch] Argument of type 'RequestHandler<ParamsDictionary, any, any, ParsedQs, Record<string, any>>' is not assignable to parameter of type 'PathParams'. [start:api:watch] Type 'RequestHandler<ParamsDictionary, any, any, ParsedQs, Record<string, any>>' is missing the following properties from type '(string | RegExp)[]': pop, push, concat, join, and 27 more. [start:api:watch] backend/app.ts(89,11): error TS2769: No overload matches this call. [start:api:watch] The last overload gave the following error. [start:api:watch] Argument of type 'RequestHandler<ParamsDictionary, any, any, ParsedQs, Record<string, any>>' is not assignable to parameter of type 'PathParams'. [start:api:watch] Type 'RequestHandler<ParamsDictionary, any, any, ParsedQs, Record<string, any>>' is not assignable to type '(string | RegExp)[]'. [start:api:watch] backend/app.ts(94,11): error TS2769: No overload matches this call. [start:api:watch] The last overload gave the following error. [start:api:watch] Argument of type 'RequestHandler<ParamsDictionary, any, any, ParsedQs, Record<string, any>>' is not assignable to parameter of type 'PathParams'. [start:api:watch] Type 'RequestHandler<ParamsDictionary, any, any, ParsedQs, Record<string, any>>' is not assignable to type '(string | RegExp)[]'. [start:api:watch] [start:api:watch] at createTSError (C:\react-testing-starter\node_modules\ts-node\src\index.ts:587:12) [start:api:watch] at reportTSError (C:\react-testing-starter\node_modules\ts-node\src\index.ts:591:19) [start:api:watch] at getOutput (C:\react-testing-starter\node_modules\ts-node\src\index.ts:921:36) [start:api:watch] at Object.compile (C:\react-testing-starter\node_modules\ts-node\src\index.ts:1189:32) [start:api:watch] at Module.m._compile (C:\react-testing-starter\node_modules\ts-node\src\index.ts:1295:42) [start:api:watch] at module.exports (C:\react-testing-starter\node_modules\default-require-extensions\js.js:7:9) [start:api:watch] at C:\react-testing-starter\node_modules\append-transform\index.js:64:4 [start:api:watch] at require.extensions.<computed> (C:\react-testing-starter\node_modules\ts-node\src\index.ts:1298:12) [start:api:watch] at Object.<anonymous> (C:\react-testing-starter\node_modules\append-transform\index.js:64:4) [start:api:watch] at Module.load (internal/modules/cjs/loader.js:928:32)
I simply started my dev server alongside cypress and put an absolute url. For example "http://localhost:3000/"
After running yarn install && yarn dev I inserted a password s3cret with the username Tavares_Barrows and I have had a response: Username or password is invalid
I use ubuntu 20.04
I run yarn install and yarn dev and I got the error The chromium binary is not available for arm64
I tried to run yarn install && yarn dev, as demonstrated in the YouTube video.
Received this error after the install:
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/tokenize' is not defined by "exports" in {my filepath}/react-testing-starter/node_modules/postcss-safe-parser/node_modules/postcss/package.json
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.