Skip to content

Commit

Permalink
BREAKING CHANGE: Simplifies the module name for testing conversions.
Browse files Browse the repository at this point in the history
`safevalues/testing/testing_conversions` -> `safevalues/testing/conversions`.

PiperOrigin-RevId: 480062858
  • Loading branch information
neuracr authored and copybara-github committed Oct 10, 2022
1 parent 53f365b commit a2d61dc
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion test/builders/html_builders_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import {concatHtmls, htmlEscape, scriptToHtml, scriptUrlToHtml} from '../../src/builders/html_builders';
import {safeScript, valueAsScript} from '../../src/builders/script_builders';
import {testonlyResourceUrl} from '../testing_conversions';
import {testonlyResourceUrl} from '../conversions';

describe('html_builders', () => {
describe('htmlEscape', () => {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test/dom/elements/element_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import {safeAttrPrefix} from '../../../src/builders/attribute_builders';
import * as safeElement from '../../../src/dom/elements/element';
import {testonlyHtml} from '../../testing_conversions';
import {testonlyHtml} from '../../conversions';

describe('safeElement', () => {
let div: HTMLDivElement;
Expand Down
2 changes: 1 addition & 1 deletion test/dom/elements/script_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {trustedResourceUrl} from '../../../src/builders/resource_url_builders';
import {safeScript} from '../../../src/builders/script_builders';
import * as safeScriptEl from '../../../src/dom/elements/script';
import {safeDocument} from '../../../src/dom/index';
import {testonlyHtml} from '../../testing_conversions';
import {testonlyHtml} from '../../conversions';

describe('safeScriptEl', () => {
const nonce = btoa(`Nonce12345`);
Expand Down
2 changes: 1 addition & 1 deletion test/dom/globals/global_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

import * as safeGlobal from '../../../src/dom/globals/global';
import {testonlyScript} from '../../testing_conversions';
import {testonlyScript} from '../../conversions';

describe('safeGlobal', () => {
describe('with TS safe types', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/dom/globals/range_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

import * as safeRange from '../../../src/dom/globals/range';
import {testonlyHtml} from '../../testing_conversions';
import {testonlyHtml} from '../../conversions';

describe('safeRange', () => {
describe('with TS safe types', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/dom/globals/worker_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import * as safeWorker from '../../../src/dom/globals/worker';
import {TrustedResourceUrl} from '../../../src/internals/resource_url_impl';
import {testonlyResourceUrl} from '../../testing_conversions';
import {testonlyResourceUrl} from '../../conversions';

interface State {
importedScripts: TrustedResourceUrl[];
Expand Down

0 comments on commit a2d61dc

Please sign in to comment.