Commit 1dcfc13e authored by Andrew Fontaine's avatar Andrew Fontaine

Replace Usage of Jasmine with Expect for FF Specs

Replace `jasmine.any` with `expect.any` to use Jest's utility functions
instead.
parent 877d3be2
......@@ -169,7 +169,7 @@ describe('feature flag form', () => {
});
it('should not render deleted scopes', () => {
expect(wrapper.vm.filteredScopes).toEqual([jasmine.objectContaining({ id: 2 })]);
expect(wrapper.vm.filteredScopes).toEqual([expect.objectContaining({ id: 2 })]);
});
});
......@@ -329,7 +329,7 @@ describe('feature flag form', () => {
rolloutUserIds: '',
},
{
id: jasmine.any(String),
id: expect.any(String),
active: false,
environmentScope: 'review',
canUpdate: true,
......@@ -339,7 +339,7 @@ describe('feature flag form', () => {
rolloutUserIds: '',
},
{
id: jasmine.any(String),
id: expect.any(String),
active: true,
environmentScope: '',
canUpdate: true,
......
......@@ -61,7 +61,7 @@ describe('New feature flag form', () => {
it('should render default * row', () => {
expect(wrapper.vm.scopes).toEqual([
{
id: jasmine.any(String),
id: expect.any(String),
environmentScope: '*',
active: true,
rolloutStrategy: ROLLOUT_STRATEGY_ALL_USERS,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment