Skip to content

Commit afcb72f

Browse files
committed
fix
1 parent 360fbfe commit afcb72f

1 file changed

Lines changed: 0 additions & 69 deletions

File tree

tests/e2e/__snapshots__/static-directory.test.js.snap

Lines changed: 0 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -35,75 +35,6 @@ exports[`static.directory option > disabled > should not handle request to /othe
3535
"
3636
`;
3737
38-
exports[`static.directory option > test listing files in folders without index.html using the default static.serveIndex option (true) > should list the files inside the assets folder (200) > console messages 1`] = `[]`;
39-
40-
exports[`static.directory option > test listing files in folders without index.html using the default static.serveIndex option (true) > should list the files inside the assets folder (200) > page errors 1`] = `[]`;
41-
42-
exports[`static.directory option > test listing files in folders without index.html using the default static.serveIndex option (true) > should list the files inside the assets folder (200) > response status 1`] = `200`;
43-
44-
exports[`static.directory option > test listing files in folders without index.html using the default static.serveIndex option (true) > should show Heyo. because bar has index.html inside it (200) > console messages 1`] = `[]`;
45-
46-
exports[`static.directory option > test listing files in folders without index.html using the default static.serveIndex option (true) > should show Heyo. because bar has index.html inside it (200) > page errors 1`] = `[]`;
47-
48-
exports[`static.directory option > test listing files in folders without index.html using the default static.serveIndex option (true) > should show Heyo. because bar has index.html inside it (200) > response status 1`] = `200`;
49-
50-
exports[`static.directory option > test listing files in folders without index.html using the default static.serveIndex option (true) > should show Heyo. because bar has index.html inside it (200) > response text 1`] = `
51-
"Heyo
52-
"
53-
`;
54-
55-
exports[`static.directory option > test listing files in folders without index.html using the option static.serveIndex: false > should not list the files inside the assets folder (404) > console messages 1`] = `
56-
[
57-
"Failed to load resource: the server responded with a status of 404 (Not Found)",
58-
]
59-
`;
60-
61-
exports[`static.directory option > test listing files in folders without index.html using the option static.serveIndex: false > should not list the files inside the assets folder (404) > page errors 1`] = `[]`;
62-
63-
exports[`static.directory option > test listing files in folders without index.html using the option static.serveIndex: false > should not list the files inside the assets folder (404) > response status 1`] = `404`;
64-
65-
exports[`static.directory option > test listing files in folders without index.html using the option static.serveIndex: false > should not list the files inside the assets folder (404) > response text 1`] = `
66-
"<!DOCTYPE html>
67-
<html lang="en">
68-
<head>
69-
<meta charset="utf-8">
70-
<title>Error</title>
71-
</head>
72-
<body>
73-
<pre>Cannot GET /assets/</pre>
74-
</body>
75-
</html>
76-
"
77-
`;
78-
79-
exports[`static.directory option > test listing files in folders without index.html using the option static.serveIndex: false > should show Heyo. because bar has index.html inside it (200) > console messages 1`] = `[]`;
80-
81-
exports[`static.directory option > test listing files in folders without index.html using the option static.serveIndex: false > should show Heyo. because bar has index.html inside it (200) > page errors 1`] = `[]`;
82-
83-
exports[`static.directory option > test listing files in folders without index.html using the option static.serveIndex: false > should show Heyo. because bar has index.html inside it (200) > response status 1`] = `200`;
84-
85-
exports[`static.directory option > test listing files in folders without index.html using the option static.serveIndex: false > should show Heyo. because bar has index.html inside it (200) > response text 1`] = `
86-
"Heyo
87-
"
88-
`;
89-
90-
exports[`static.directory option > test listing files in folders without index.html using the option static.serveIndex: true > should list the files inside the assets folder (200) > console messages 1`] = `[]`;
91-
92-
exports[`static.directory option > test listing files in folders without index.html using the option static.serveIndex: true > should list the files inside the assets folder (200) > page errors 1`] = `[]`;
93-
94-
exports[`static.directory option > test listing files in folders without index.html using the option static.serveIndex: true > should list the files inside the assets folder (200) > response status 1`] = `200`;
95-
96-
exports[`static.directory option > test listing files in folders without index.html using the option static.serveIndex: true > should show Heyo. because bar has index.html inside it (200) > console messages 1`] = `[]`;
97-
98-
exports[`static.directory option > test listing files in folders without index.html using the option static.serveIndex: true > should show Heyo. because bar has index.html inside it (200) > page errors 1`] = `[]`;
99-
100-
exports[`static.directory option > test listing files in folders without index.html using the option static.serveIndex: true > should show Heyo. because bar has index.html inside it (200) > response status 1`] = `200`;
101-
102-
exports[`static.directory option > test listing files in folders without index.html using the option static.serveIndex: true > should show Heyo. because bar has index.html inside it (200) > response text 1`] = `
103-
"Heyo
104-
"
105-
`;
106-
10738
exports[`static.directory option > to directory > should handle request to index route > console messages 1`] = `[]`;
10839
10940
exports[`static.directory option > to directory > should handle request to index route > page errors 1`] = `[]`;

0 commit comments

Comments
 (0)