Skip to content

Commit

Permalink
Merge branch 'v2' into pr/Aareksio/2857
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Nov 7, 2024
2 parents 1e894c1 + 924eaa5 commit 7e44ab6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/fixture/routes/raw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import sqlts from "../files/sqlts.sql";

export default defineEventHandler(async () => {
return {
sql,
sqlts,
sql: sql.trim(),
sqlts: sqlts.trim(),
};
});
4 changes: 2 additions & 2 deletions test/tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -782,8 +782,8 @@ export function testNitro(
it("raw imports", async () => {
const { data } = await callHandler({ url: "/raw" });
expect(data).toMatchObject({
sql: "--\n",
sqlts: "--\n",
sql: "--",
sqlts: "--",
});
});
}

0 comments on commit 7e44ab6

Please sign in to comment.