10
0
Fork 0
mirror of https://github.com/Azure/setup-helm.git synced 2026-04-14 18:44:47 +00:00

Add node modules and compiled JavaScript from main

This commit is contained in:
Oliver King 2022-07-11 17:38:11 +00:00
parent 1b3cd6513d
commit 5c25cf98f2
8242 changed files with 1801811 additions and 5 deletions

View file

@ -0,0 +1,29 @@
'use strict';
var test = require('tape');
var semver = require('semver');
var supportsPreserveSymlinks = require('../');
var browser = require('../browser');
test('supportsPreserveSymlinks', function (t) {
t.equal(typeof supportsPreserveSymlinks, 'boolean', 'is a boolean');
t.equal(browser, null, 'browser file is `null`');
t.equal(
supportsPreserveSymlinks,
null,
'in a browser, is null',
{ skip: typeof window === 'undefined' }
);
var expected = semver.satisfies(process.version, '>= 6.2');
t.equal(
supportsPreserveSymlinks,
expected,
'is true in node v6.2+, false otherwise (actual: ' + supportsPreserveSymlinks + ', expected ' + expected + ')',
{ skip: typeof window !== 'undefined' }
);
t.end();
});