File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
cypress/integration/default Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,15 +52,15 @@ describe('appDir', () => {
52
52
53
53
it ( 'correctly redirects HTML requests for ISR pages' , ( ) => {
54
54
cy . request ( '/blog/erica' ) . then ( ( response ) => {
55
- expect ( response . status ) . to . be ( '308' )
55
+ expect ( response . status ) . to . equal ( '308' )
56
56
expect ( response . headers ) . to . have . property ( 'location' , '/blog/erica/' )
57
57
} )
58
58
} )
59
59
60
60
// This needs trailing slash handling to be fixed
61
61
it . skip ( 'correctly redirects HTML requests for static pages' , ( ) => {
62
62
cy . request ( '/blog/erica/first-post' ) . then ( ( response ) => {
63
- expect ( response . status ) . to . be ( '308' )
63
+ expect ( response . status ) . to . equal ( '308' )
64
64
expect ( response . headers ) . to . have . property ( 'location' , '/blog/erica/first-post/' )
65
65
} )
66
66
} )
You can’t perform that action at this time.
0 commit comments