Skip to content

Instantly share code, notes, and snippets.

@quyetvv
quyetvv / index.test.js
Created April 17, 2019 10:37
Example Puppeteer e2e tests from Ropig
import faker from 'faker'
import puppeteer from 'puppeteer'
const appUrlBase = 'http://localhost:4000'
const routes = {
public: {
register: `${appUrlBase}/register`,
login: `${appUrlBase}/login`,
noMatch: `${appUrlBase}/asdf`,
},
@quyetvv
quyetvv / html-languages.txt
Created February 27, 2018 04:16 — forked from JamieMason/html-languages.txt
HTML lang attribute / ISO language code reference / Culture names
CULTURE SPEC.CULTURE ENGLISH NAME
--------------------------------------------------------------
Invariant Language (Invariant Country)
af af-ZA Afrikaans
af-ZA af-ZA Afrikaans (South Africa)
ar ar-SA Arabic
ar-AE ar-AE Arabic (U.A.E.)
ar-BH ar-BH Arabic (Bahrain)
ar-DZ ar-DZ Arabic (Algeria)
ar-EG ar-EG Arabic (Egypt)
1. Build GraphQL server using `express-graphql` package.
2. Configure `schema.js` file.
3. Query for data.