mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 01:45:07 +08:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user