Skip to content

Commit 1bcb7bc

Browse files
committed
fix: ETag generation tests to use toBe matcher
1 parent 988369f commit 1bcb7bc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/utils/webdav.utils.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ describe('Webdav utils', () => {
178178
test('when the parts are wrapped in quotes, then a quoted etag is returned', () => {
179179
const etag = WebDavUtils.generateETag(['uuid-1']);
180180

181-
expect(etag.startsWith('"')).to.be.true;
182-
expect(etag.endsWith('"')).to.be.true;
181+
expect(etag.startsWith('"')).toBe(true);
182+
expect(etag.endsWith('"')).toBe(true);
183183
});
184184

185185
test('when any part differs, then a different etag is generated', () => {

0 commit comments

Comments
 (0)