<commit_before>require_relative '../spec_helper'

describe "yarn pnp hello world" do
  context "a single process zero-install app" do
    let(:app) {
      Hatchet::Runner.new("spec/fixtures/repos/yarn-pnp-zero-install")
    }

    it "should deploy successfully" do
      app.deploy do |app|
        expect(successful_body(app).strip).to eq("Hello from yarn-pnp-zero-install")
      end
    end
  end
end
<commit_msg>set NODE_MODULES_CACHE=false when testing pnp zero-install<commit_after>require_relative '../spec_helper'

describe "yarn pnp hello world" do
  it "zero-install with NODE_MODLES_CACHE=false should deploy successfully" do
    app = Hatchet::Runner.new(
      "spec/fixtures/repos/yarn-pnp-zero-install",
      config: { "NODE_MODLES_CACHE": "false" }
    }
    app.deploy do |app|
      expect(successful_body(app).strip).to eq("Hello from yarn-pnp-zero-install")
    end
  end
end

{'fraction_non_alphanumeric': 0.11568409343715239, 'fraction_numerical': 0.0, 'mean_word_length': 3.522613065326633, 'pattern_counts': {'":': 1, '<': 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': '2066346', 'n_tokens_mistral': 306, 'n_tokens_neox': 298, 'n_words': 70}