0
0
mirror of https://github.com/dependabot/dependabot-core.git synced 2025-06-16 04:21:43 +00:00
Files
dependabot-core/bun/spec/bun_config_spec.rb

16 lines
531 B
Ruby

# typed: false
# frozen_string_literal: true
require "spec_helper"
# NOTE: This test does not have a corresponding class. It is testing the npm configuration.
RSpec.describe "bun config" do # rubocop:disable RSpec/DescribeClass
# NOTE: This comes from updater/config/.npmrc
it "contains a valid .npmrc config file" do
npm_result = `npm config list`
expect(npm_result).to include("audit = false")
expect(npm_result).to include("dry-run = true")
expect(npm_result).to include("ignore-scripts = true")
end
end