Skip to content

Commit b462d84

Browse files
authored
Test Coverage and Reliability Improvements
Overview This PR introduces a comprehensive testing strategy across the Seamless Auth codebase. The goal was to significantly increase confidence in system behavior, particularly around authentication flows, security boundaries, and infrastructure wiring. The result is a robust suite of unit, integration, and end-to-end tests that validate both expected behavior and failure modes.
2 parents 1df311b + 516e232 commit b462d84

162 files changed

Lines changed: 7279 additions & 221 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,14 @@ jobs:
2828
run: npm run format
2929

3030
- name: Run Tests with Coverage
31-
run: npm run coverage
31+
run: CI=true npm run coverage
32+
33+
- name: Upload coverage reports to Codecov
34+
uses: codecov/codecov-action@v5
35+
with:
36+
token: ${{ secrets.CODECOV_TOKEN }}
3237

3338
- name: Run type checks
3439
run: npm run typecheck
35-
3640
- name: Build
3741
run: npm run build

eslint.config.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import js from '@eslint/js';
22
import tsPlugin from '@typescript-eslint/eslint-plugin';
33
import tsParser from '@typescript-eslint/parser';
44
import simpleImportSort from 'eslint-plugin-simple-import-sort';
5+
import licenseHeader from 'eslint-plugin-license-header';
56

67
export default [
78
{
@@ -45,6 +46,7 @@ export default [
4546
plugins: {
4647
'@typescript-eslint': tsPlugin,
4748
'simple-import-sort': simpleImportSort,
49+
'license-header': licenseHeader,
4850
},
4951
rules: {
5052
...js.configs.recommended.rules,
@@ -53,6 +55,8 @@ export default [
5355
'simple-import-sort/exports': 'error',
5456
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }],
5557
'@typescript-eslint/no-explicit-any': 'error',
58+
59+
'license-header/header': ['error', './resources/license-header.js'],
5660
},
5761
},
5862
];

jest.config.ts

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)