Move from browser-request to fetch (#9345)

This commit is contained in:
Michael Telatynski
2022-10-12 18:59:07 +01:00
committed by GitHub
parent ae883bb94b
commit 8b54be6f48
50 changed files with 1474 additions and 607 deletions

View File

@@ -27,10 +27,7 @@ import {
import { stubClient } from '../test-utils';
describe('languageHandler', function() {
/*
See /__mocks__/browser-request.js/ for how we are stubbing out translations
to provide fixture data for these tests
*/
// See setupLanguage.ts for how we are stubbing out translations to provide fixture data for these tests
const basicString = 'Rooms';
const selfClosingTagSub = 'Accept <policyLink /> to continue:';
const textInTagSub = '<a>Upgrade</a> to your own domain';