- Delete old Vite+Svelte frontend - Initialize new SvelteKit project with TypeScript - Configure Tailwind CSS v4 + DaisyUI - Implement JWT authentication with auto-refresh - Create login page with form validation (Zod) - Add protected route guards - Update Docker configuration for single-stage build - Add E2E tests with Playwright (6/11 passing) - Fix Svelte 5 reactivity with $state() runes Known issues: - 5 E2E tests failing (timing/async issues) - Token refresh implementation needs debugging - Validation error display timing
30 lines
737 B
JavaScript
30 lines
737 B
JavaScript
'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();
|
|
});
|