This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import subprocess | |
import shlex | |
import sys | |
def init(): | |
print("Initialize all-contributors") | |
subprocess.run(shlex.split("npx all-contributors-cli init"), shell=True) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs'); | |
const _ = {}; | |
_.cloneDeep = require('lodash/cloneDeep'); | |
describe('Live Preview reload triggered by changes to site.json', () => { | |
const SITE_JSON_PATH = 'test/e2e/test_site/site.json'; | |
const originalJson = JSON.parse(fs.readFileSync(SITE_JSON_PATH, 'utf8')); | |
beforeAll(async () => { | |
await page.goto('http://localhost:8888/'); |
OlderNewer