See here.
Create a capability e.g. feature, test, dependency.
Remove a capability e.g. feature, test, dependency.
Fix an issue e.g. bug, typo, accident, misstatement.
# This is a basic workflow to help you get started with Actions | |
name: Reflect Regression Tests | |
on: | |
# Triggers the workflow on push or pull request events but only for the main branch | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] |
<Input | |
{...{ | |
autocomplete: 'off', | |
disabled: false, | |
autofocus: true, | |
inputRef: null, | |
name: 'myInput', | |
onBlur: x => console.log(x), | |
onChange: x => console.log(x), | |
onKeyDown: x => console.log(x), |
<Input | |
autocomplete='off' | |
disabled={false} | |
autofocus={true} | |
inputRef={null} | |
name='myInput' | |
onBlur={x => console.log(x)} | |
onChange={x => console.log(x)} | |
onKeyDown={x => console.log(x)} | |
placeholder='Please enter a value' |
const { PrismaClient } = require('@prisma/client') | |
const prisma = new PrismaClient() | |
module.exports = async (parent, args, ctx, info) => { | |
try { | |
return await prisma.user.findMany() | |
} catch (error) { | |
throw new Error(error) | |
} | |
} |
module.exports = async (parent, args, { prisma, ...ctx }, info) => { | |
try { | |
return await prisma.user.findMany() | |
} catch (error) { | |
throw new Error(error) | |
} | |
} |
{ | |
users { | |
nameFirst | |
nameLast | |
} | |
} |
const name = 'Martin' | |
const customer = false | |
const human = true | |
// The object’s keys are irrelevant, since `Object.values` just spits out the object properties into an array. | |
const ternaryOps = Object.values({ | |
1: name === 'Joe' ? 'Hi Joe!' : null, | |
2: customer ? 'Dear customer,' : null, | |
3: human ? `Hey ${name}!` : null, | |
default: 'To Whom It May Concern,' |
;(async () => { | |
// Secrets | |
require('dotenv').config() | |
// Webflow | |
const Webflow = require('webflow-api') | |
// Chron job | |
const cron = require('node-cron') | |
// Selenium | |
const webdriver = require('selenium-webdriver') | |
const chrome = require('selenium-webdriver/chrome') |
See here.
Create a capability e.g. feature, test, dependency.
Remove a capability e.g. feature, test, dependency.
Fix an issue e.g. bug, typo, accident, misstatement.
(async () => { | |
const webdriver = require('selenium-webdriver') | |
const chrome = require('selenium-webdriver/chrome') | |
const chromedriver = require('chromedriver') | |
// Run Selenium with Chrome on Node | |
chrome.setDefaultService(new chrome.ServiceBuilder(chromedriver.path).build()) | |
let driver = new webdriver.Builder() | |
.withCapabilities(webdriver.Capabilities.chrome()) |