Moving test file to __tests__

This commit is contained in:
SinusFox
2024-09-24 17:38:30 +02:00
parent 1fb2b4931d
commit c7690401bc
-10
View File
@@ -1,10 +0,0 @@
import type { NextApiRequest, NextApiResponse } from 'next';
export default function handler(req: NextApiRequest, res: NextApiResponse) {
if (req.method === 'POST') {
res.status(200).json({ message: 'API is working!' });
} else {
res.status(405).json({ message: 'Method not allowed' });
}
}