git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
{ | |
"extends": "./tsconfig.json", | |
"compilerOptions": { | |
"jsx": "react" | |
} | |
} |
module.exports = { | |
"testEnvironment": "node", | |
"roots": [ | |
"<rootDir>/components" | |
], | |
"preset": 'ts-jest', | |
"setupFilesAfterEnv": ["<rootDir>/tests/setupTests.ts"], | |
"transform": { | |
"^.+\\.tsx?$": "ts-jest" | |
}, |
module.exports = { | |
"testEnvironment": "node", | |
"roots": [ | |
"<rootDir>/components" | |
], | |
"preset": "ts-jest", | |
"setupFilesAfterEnv": ["<rootDir>/tests/setupTests.ts"], | |
"transform": { | |
"^.+\\.tsx?$": "ts-jest" | |
}, |
import Enzyme from 'enzyme'; | |
import Adapter from 'enzyme-adapter-react-16'; | |
// Configure Enzyme with React 16 adapter | |
Enzyme.configure({ adapter: new Adapter() }); |
{ | |
"name": "our-cool-nextjs-app", | |
"version": "0.1.0", | |
"dependencies": { | |
"next": "^9.1.1", | |
"react": "^16.10.2", | |
"react-dom": "^16.10.2", | |
"tslib": "^1.10.0" | |
}, | |
"scripts": { |
/** | |
* MISSING INTEGER | |
* --- | |
* Write a function: | |
* function solution(A); | |
* that, given an array A of N integers, returns the smallest positive integer (greater than 0) that does not occur in A. | |
* For example, given A = [1, 3, 6, 4, 1, 2], the function should return 5. | |
* Given A = [1, 2, 3], the function should return 4. | |
* Given A = [−1, −3], the function should return 1. | |
* |
<!-- plyr binding usage --> | |
<div class="video-player-container" data-bind="plyr:{videos:playerData.videos,cover:playerData.cover, instance:playerData.instance}"></div> |