@@ -109,7 +109,7 @@ print_success() {
109109# $2 - number of log lines
110110run_tests () {
111111 echo ' Running tests...' >&2
112- make test | tail -n " $2 " >> " $1 " 2>&1
112+ make NODE_FLAGS= ' --no-deprecation ' test | tail -n " $2 " >> " $1 " 2>&1
113113 if [[ " $? " -ne 0 ]]; then
114114 echo ' Tests failed.' >&2
115115 return 1
@@ -124,7 +124,7 @@ run_tests() {
124124# $2 - number of log lines
125125run_test_coverage () {
126126 echo ' Running test coverage...' >&2
127- make test-cov | tail -n " $2 " >> " $1 " 2>&1
127+ make NODE_FLAGS= ' --no-deprecation ' test-cov | tail -n " $2 " >> " $1 " 2>&1
128128 if [[ " $? " -ne 0 ]]; then
129129 echo ' Tests failed.' >&2
130130 return 1
@@ -155,7 +155,7 @@ send_coverage() {
155155# $2 - number of log lines
156156run_benchmarks () {
157157 echo ' Running benchmarks...' >&2
158- make benchmark | tail -n " $2 " >> " $1 " 2>&1
158+ make NODE_FLAGS= ' --no-deprecation ' benchmark | tail -n " $2 " >> " $1 " 2>&1
159159 if [[ " $? " -ne 0 ]]; then
160160 echo ' Benchmarks failed.' >&2
161161 return 1
@@ -170,7 +170,7 @@ run_benchmarks() {
170170# $2 - number of log lines
171171run_examples () {
172172 echo ' Running examples...' >&2
173- make examples | tail -n " $2 " >> " $1 " 2>&1
173+ make NODE_FLAGS= ' --no-deprecation ' examples | tail -n " $2 " >> " $1 " 2>&1
174174 if [[ " $? " -ne 0 ]]; then
175175 echo ' Examples failed.' >&2
176176 return 1
0 commit comments