import express, { Express, NextFunction, Request, Response } from 'express';
import { userRoutes } from './userRoutes';
function authenticate(req: Request, res: Response, next: NextFunction) {
const header = req.header('authorization');
if (!header || !header.startsWith('Bearer ')) {
import { http, HttpResponse } from 'msw';
export interface Product {
id: number;
name: string;
}
import XCTest
import Combine
@testable import MyApp
class PostsViewModelTests: XCTestCase {
var viewModel: PostsViewModel!