chore: allow ajax test to work with different dev server ports
This commit is contained in:
parent
7e72f60cc9
commit
d129dd629d
1 changed files with 1 additions and 1 deletions
|
|
@ -597,7 +597,7 @@ describe('Ajax', () => {
|
||||||
'foobar',
|
'foobar',
|
||||||
);
|
);
|
||||||
|
|
||||||
expect(error.message).to.include('http://localhost:8000/foobar');
|
expect(/http:\/\/localhost:\d*\/foobar/.test(error.message)).to.be.true;
|
||||||
expect(error.message).to.include('418');
|
expect(error.message).to.include('418');
|
||||||
expect(error.message).to.include("I'm a teapot");
|
expect(error.message).to.include("I'm a teapot");
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue