Skip to content

Commit

Permalink
[#385] Add tests for package_json
Browse files Browse the repository at this point in the history
  • Loading branch information
sanG-github committed Jun 21, 2023
1 parent be10c45 commit 4d587c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .template/spec/variants/web/package_json_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
expect(subject['scripts']).to include('build:css')
end

it 'adds the script for bundling css in production' do
expect(subject['scripts']).to include('build:css-production')
end

it 'adds the script for bundling postcss' do
expect(subject['scripts']).to include('postcss')
expect(subject['scripts']).to include('build:postcss')
Expand Down

0 comments on commit 4d587c1

Please sign in to comment.