Skip to content

Commit 424da09

Browse files
Merge pull request nestjs#3594 from tonyhallett/to-be-string-does-not-execute
test(common): fix expect that does not execute
2 parents b0eecad + 185bbbd commit 424da09

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/common/test/utils/random-string-generator.util.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ import { randomStringGenerator } from '../../utils/random-string-generator.util'
33

44
describe('randomStringGenerator', () => {
55
it('should generate random string', () => {
6-
expect(randomStringGenerator()).to.be.string;
6+
expect(randomStringGenerator()).to.be.a('string');
77
});
88
});

0 commit comments

Comments
 (0)