Skip to content

Instantly share code, notes, and snippets.

View sidhant-khamankar's full-sized avatar
👨‍💻
Always Learning

Sidhant Khamankar sidhant-khamankar

👨‍💻
Always Learning
View GitHub Profile
@sidhant-khamankar
sidhant-khamankar / mocha-guide-to-testing.js
Created April 20, 2021 09:23 — forked from samwize/mocha-guide-to-testing.js
Explain Mocha's testing framework - describe(), it() and before()/etc hooks
// # Mocha Guide to Testing
// Objective is to explain describe(), it(), and before()/etc hooks
// 1. `describe()` is merely for grouping, which you can nest as deep
// 2. `it()` is a test case
// 3. `before()`, `beforeEach()`, `after()`, `afterEach()` are hooks to run
// before/after first/each it() or describe().
//
// Which means, `before()` is run before first it()/describe()
@sidhant-khamankar
sidhant-khamankar / app styles
Created March 17, 2021 04:40 — forked from adrianhajdin/app styles
Memories Project Files
import { makeStyles } from '@material-ui/core/styles';
export default makeStyles(() => ({
appBar: {
borderRadius: 15,
margin: '30px 0',
display: 'flex',
flexDirection: 'row',
justifyContent: 'center',
alignItems: 'center',
@sidhant-khamankar
sidhant-khamankar / tanay-links.md
Created June 6, 2020 16:49 — forked from tanaypratap/tanay-links.md
Links for all of Tanay's Initiatives at one place