refactor: remove bundled personal portfolio
This commit is contained in:
@@ -26,21 +26,6 @@ test('localized project routes use runtime content and metadata', async () => {
|
||||
assert.match(pages, /generateMetadata/);
|
||||
});
|
||||
|
||||
test('every project exposes an evidence-based localized case study', async () => {
|
||||
const source = await readFile('src/data/projects.ts', 'utf8');
|
||||
|
||||
assert.doesNotMatch(source, /\blink\??:/);
|
||||
assert.doesNotMatch(source, /\blink:/);
|
||||
assert.ok((source.match(/\bcaseStudy:/g) ?? []).length >= 14);
|
||||
assert.equal((source.match(/\bgallery:\s*\[/g) ?? []).length, 7);
|
||||
assert.match(source, /export const getProject\s*=/);
|
||||
assert.match(source, /export const getAdjacentProjects\s*=/);
|
||||
assert.match(source, /export const getProjectPath\s*=/);
|
||||
assert.match(source, /screenshots\/qlockify\/qlockify-landing\.png/);
|
||||
assert.match(source, /screenshots\/guilan-ace\/guilan-ace-landing-dark\.png/);
|
||||
assert.match(source, /screenshots\/subsource\/subtitle-detail-light\.png/);
|
||||
});
|
||||
|
||||
test('project cards separate case study navigation from live links', async () => {
|
||||
const source = await readFile('src/components/ProjectsSection.tsx', 'utf8');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user