mirror of
https://github.com/actions/setup-node.git
synced 2025-04-22 03:28:42 +00:00
Run project Prettier 💅
This commit is contained in:
parent
f8cdefe984
commit
3bf06e207b
1 changed files with 4 additions and 1 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Reference in a new issue