-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Expand file tree
/
Copy pathnode_17_spec.rb
More file actions
35 lines (33 loc) · 1.48 KB
/
node_17_spec.rb
File metadata and controls
35 lines (33 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
require_relative '../spec_helper'
describe "Hello World for Node v17.x" do
context "a single-process Node v17.x app" do
let(:app) {
Hatchet::Runner.new("spec/fixtures/repos/node-17")
}
it "should deploy successfully with EOL warning" do
app.deploy do |app|
expect(clean_output(app.output)).to include(<<~OUTPUT)
remote: -----> Installing binaries
remote: engines.node (package.json): 17.x
remote: engines.npm (package.json): unspecified (use default)
remote:
remote: Resolving node version 17.x...
remote:
remote: ! Node.js 17.9.1 is now End-of-Life (EOL). It no longer receives security
remote: ! updates, bug fixes, or support from the Node.js project and is no longer
remote: ! supported on Heroku.
remote: !
remote: ! In a future buildpack release, this warning will become a build error. Please
remote: ! upgrade to a supported version as soon as possible to avoid build failures.
remote: !
remote: ! https://devcenter.heroku.com/articles/nodejs-support#supported-node-js-versions
remote:
remote: Downloading and installing node 17.9.1...
remote: Validating checksum
remote: Using default npm version: 8.11.0
OUTPUT
expect(successful_body(app).strip).to eq("Hello, world!")
end
end
end
end