(date)
| 11 | const bucket = `rawnodelifecyclebucket-${randomUUID()}`; |
| 12 | |
| 13 | function makeLifeCycleXML(date) { |
| 14 | return `<LifecycleConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/"> |
| 15 | <Rule> |
| 16 | <Expiration> |
| 17 | <Date>${date}</Date> |
| 18 | </Expiration> |
| 19 | <ID>my-id</ID> |
| 20 | <Filter /> |
| 21 | <Status>Enabled</Status> |
| 22 | </Rule> |
| 23 | </LifecycleConfiguration>`; |
| 24 | } |
| 25 | |
| 26 | describe('api tests', () => { |
| 27 | before(done => { |