DEV: Merge package.json files (#21172)

This means: a single yarn.lock and removing one of the package.json files
This commit is contained in:
Jarek Radosz
2023-04-20 12:46:12 +02:00
committed by GitHub
parent e002a24eca
commit 49a1e1cd0e
14 changed files with 8622 additions and 10692 deletions

View File

@ -151,11 +151,7 @@ RSpec.describe DiscourseJsProcessor do
let(:mini_racer) do
ctx = MiniRacer::Context.new
ctx.eval(
File.open(
"#{Rails.root}/app/assets/javascripts/node_modules/handlebars/dist/handlebars.js",
).read,
)
ctx.eval(File.open("#{Rails.root}/node_modules/handlebars/dist/handlebars.js").read)
ctx.eval(helpers)
ctx
end