4
0
Fork 0
mirror of https://github.com/actions/setup-node.git synced 2025-11-11 14:56:55 +00:00

Run project Prettier ๐Ÿ’…

This commit is contained in:
schmannie 2022-05-16 09:32:19 -07:00 committed by Manpreet Singh
parent f8cdefe984
commit 3bf06e207b

View file

@ -593,7 +593,10 @@ describe('setup-node', () => {
it('reads package.json as node-version-file if provided', async () => {
// Arrange
const versionSpec = fs.readFileSync(path.join(__dirname, 'data/package.json'), 'utf-8');
const versionSpec = fs.readFileSync(
path.join(__dirname, 'data/package.json'),
'utf-8'
);
const versionFile = 'package.json';
const expectedVersionSpec = '14';
process.env['GITHUB_WORKSPACE'] = path.join(__dirname, 'data');