mirror of
https://github.com/notherealmarco/WASAPhoto.git
synced 2025-05-06 12:49:37 +02:00
Add decaf webui
This commit is contained in:
parent
6b4c9bb531
commit
69c0388954
742 changed files with 608981 additions and 6 deletions
29
webui/node_modules/supports-preserve-symlinks-flag/test/index.js
generated
vendored
Normal file
29
webui/node_modules/supports-preserve-symlinks-flag/test/index.js
generated
vendored
Normal 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();
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue