Skip to content

Instantly share code, notes, and snippets.

View ooooooo-q's full-sized avatar
🖥️
コードを読む

ooooooo_q ooooooo-q

🖥️
コードを読む
View GitHub Profile
@ooooooo-q
ooooooo-q / stories_to_reftest_list.js
Created April 25, 2017 22:56
storiesからreftest runnerにかけるためにstoryを抜き出すサンプル
const glob = require('glob');
const fs = require('fs');
glob('./src/stories/**.js', (err, files)=>{
console.log(files)
files.forEach((filename) => {
const file = fs.readFileSync(filename, 'utf-8');
// console.log(file)