Merge pull request #5440 from serverless/fix-integration-test

Fix integration test
This commit is contained in:
Daniel Schep 2018-11-02 14:35:34 -04:00 committed by GitHub
commit 8c42d16349
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,7 +69,7 @@ describe('Service Lifecyle Integration Test', () => {
let timestamp;
const listDeploys = execSync(`${serverlessExec} deploy list`);
const output = listDeploys.toString();
const match = output.match(new RegExp('Timestamp: (.+)'));
const match = output.match(new RegExp('Datetime: (.+)'));
if (match) {
timestamp = match[1];
}