Skip to content
Snippets Groups Projects
Commit c50c597e authored by Rhys Arkins's avatar Rhys Arkins
Browse files

tests: fix travis LTS

parent c2f91402
No related branches found
No related tags found
No related merge requests found
......@@ -4,8 +4,8 @@ exports[`lib/manager/travis/package getPackageUpdates detects pinning 1`] = `
Array [
Object {
"isRange": true,
"newMajor": 12,
"newValue": "10.0.1,12.3.0",
"newMajor": 14,
"newValue": "10.0.1,12.3.0,null",
"sourceUrl": "https://github.com/nodejs/node",
},
]
......@@ -15,8 +15,8 @@ exports[`lib/manager/travis/package getPackageUpdates returns result if needing
Array [
Object {
"isRange": true,
"newMajor": 12,
"newValue": "10,12",
"newMajor": 14,
"newValue": "10,12,14",
"sourceUrl": "https://github.com/nodejs/node",
},
]
......
......@@ -26,7 +26,7 @@ describe('lib/manager/travis/package', () => {
expect(await getPackageUpdates(config)).toEqual([]);
});
it('returns empty if matching', async () => {
config.currentValue = ['12'];
config.currentValue = ['12', '14'];
config.supportPolicy = ['lts_active'];
expect(await getPackageUpdates(config)).toEqual([]);
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment