We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3e4d150 + e6212a2 commit 178825fCopy full SHA for 178825f
packages/nitro/test/dirs.test.ts
@@ -15,7 +15,7 @@ const nitroMock = (dirs: string[]) => {
15
describe('nitro:getWorkflowDirs', () => {
16
test('default dirs', () => {
17
const result = getWorkflowDirs(nitroMock([]));
18
- expect(result).toEqual(['/root/server/workflows', '/root/workflows']);
+ expect(result).toEqual(['/root/api', '/root/routes', '/root/workflows']);
19
});
20
21
test('custom dirs', () => {
@@ -24,8 +24,9 @@ describe('nitro:getWorkflowDirs', () => {
24
);
25
expect(result).toEqual([
26
'/custom/dir2',
27
+ '/root/api',
28
'/root/relative/dir1',
- '/root/server/workflows',
29
+ '/root/routes',
30
'/root/workflows',
31
]);
32
0 commit comments