File tree 3 files changed +4
-3
lines changed
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -45,5 +45,5 @@ COPY tests/ ./
45
45
46
46
COPY --from=build-image /dependencies/node_modules/ ./node_modules
47
47
48
- ENTRYPOINT ["/usr/local/ bin/npx" , " aws-lambda-ric@1.1.0 " ]
48
+ ENTRYPOINT ["node_modules/. bin/aws-lambda-ric" ]
49
49
CMD ["handler.runTest" ]
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ function getAllTestFilesByTestPattern({ testPattern }) {
20
20
. sync ( testPattern , {
21
21
cwd : "../tests"
22
22
} )
23
- . map ( file => `/function /${ file } ` )
23
+ . map ( file => `/app /${ file } ` )
24
24
return {
25
25
files,
26
26
numTotalFiles : files . length ,
Original file line number Diff line number Diff line change @@ -4,8 +4,9 @@ const utils = require('./helpers/utils')
4
4
5
5
async function runPlaywrightTestOnServerless ( ) {
6
6
try {
7
+ const testPattern = 'E2E/*.test.js'
7
8
const { files, numTotalFiles } = utils . getAllTestFilesByTestPattern ( {
8
- testPattern : 'E2E/*.test.js'
9
+ testPattern
9
10
} )
10
11
11
12
if ( numTotalFiles === 0 ) {
You can’t perform that action at this time.
0 commit comments