mirror of
https://github.com/bitwarden/browser
synced 2026-02-08 12:40:26 +00:00
- Created libs/legacy-api with description and platform team ownership - Updated tsconfig.base path mapping and CODEOWNERS - npm install changes in package-lock from generator feat(api): add minimal ApiClient and HttpOperations type with lifted core methods (send, fetch/nativeFetch, token helpers, error handling) feat(api): include prerelease flag header in ApiClient headers to match ApiService behavior refactor(api): type logoutCallback param as LogoutReason to mirror ApiService chore(api): remove unused HttpOperations import from abstraction refactor(api): rename api-client.ts to api.service.ts and update barrel/spec imports chore(api): restore comments and constructor parity with common ApiService (device field, directory traversal note, unauthenticated header rationale) angular: provide TokenProvider -> TokenProviderService; convert TokenProvider to abstract class for DI token; no cycles with @bitwarden/api
11 lines
312 B
JavaScript
11 lines
312 B
JavaScript
module.exports = {
|
|
displayName: "legacy-api",
|
|
preset: "../../jest.preset.js",
|
|
testEnvironment: "node",
|
|
transform: {
|
|
"^.+\\.[tj]s$": ["ts-jest", { tsconfig: "<rootDir>/tsconfig.spec.json" }],
|
|
},
|
|
moduleFileExtensions: ["ts", "js", "html"],
|
|
coverageDirectory: "../../coverage/libs/legacy-api",
|
|
};
|