<commit_before>'use strict';
var assert = require('assert');
var helpers = require('./helpers');
var Flow = require('../lib/flow.js');

describe('ConfigWriter', function () {
  before(helpers.directory('temp'));

  it('should allow steps per block type', function () {
    var flow = new Flow({
      steps: {
        js: ['bar', 'baz'],
        css: ['foo']
      }
    });
    assert.deepEqual(flow.steps('js'), ['bar', 'baz']);
    assert.deepEqual(flow.steps('css'), ['foo']);<commit_msg>fix typo in test description<commit_after>'use strict';
var assert = require('assert');
var helpers = require('./helpers');
var Flow = require('../lib/flow.js');

describe('Flow', function () {
  before(helpers.directory('temp'));

  it('should allow steps per block type', function () {
    var flow = new Flow({
      steps: {
        js: ['bar', 'baz'],
        css: ['foo']
      }
    });
    assert.deepEqual(flow.steps('js'), ['bar', 'baz']);
    assert.deepEqual(flow.steps('css'), ['foo']);
{'fraction_non_alphanumeric': 0.21594349142280525, 'fraction_numerical': 0.0, 'mean_word_length': 3.48868778280543, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '65107', 'n_tokens_mistral': 305, 'n_tokens_neox': 300, 'n_words': 75}