Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-08-09 00:09:31 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-08-09 00:09:31 +0300
commitd3fb07d5b10b01e24f33298252d854fc2c149786 (patch)
tree4b50c5ea23a08dc91c5adac4cec89f547b88f828 /spec/frontend/ide
parent70b375c29f67bdc8bd7e8ade1d5355444106482d (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/ide')
-rw-r--r--spec/frontend/ide/lib/common/model_manager_spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/ide/lib/common/model_manager_spec.js b/spec/frontend/ide/lib/common/model_manager_spec.js
index 08e4ab0f113..e485873e8da 100644
--- a/spec/frontend/ide/lib/common/model_manager_spec.js
+++ b/spec/frontend/ide/lib/common/model_manager_spec.js
@@ -59,7 +59,7 @@ describe('Multi-file editor library model manager', () => {
describe('hasCachedModel', () => {
it('returns false when no models exist', () => {
- expect(instance.hasCachedModel('path')).toBeFalsy();
+ expect(instance.hasCachedModel('path')).toBe(false);
});
it('returns true when model exists', () => {
@@ -67,7 +67,7 @@ describe('Multi-file editor library model manager', () => {
instance.addModel(f);
- expect(instance.hasCachedModel(f.key)).toBeTruthy();
+ expect(instance.hasCachedModel(f.key)).toBe(true);
});
});