From 62fe35916f66edf8491bcec8680dd602bc5cb299 Mon Sep 17 00:00:00 2001 From: Tom Rees-Herdman Date: Mon, 6 Jan 2025 16:34:41 +0000 Subject: [PATCH] Update resolver test for `getWebContainers()`. --- assets/js/modules/tagmanager/datastore/containers.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/modules/tagmanager/datastore/containers.test.js b/assets/js/modules/tagmanager/datastore/containers.test.js index 5e1b06fa644..81f88ad0034 100644 --- a/assets/js/modules/tagmanager/datastore/containers.test.js +++ b/assets/js/modules/tagmanager/datastore/containers.test.js @@ -464,7 +464,7 @@ describe( 'modules/tagmanager containers', () => { } ); describe( 'getWebContainers', () => { - it( 'uses the getContainers resolver to make a network request', async () => { + it( 'should use a resolver to make a network request', async () => { const account = factories.accountBuilder(); const containers = factories.buildContainers( 3, { // eslint-disable-next-line sitekit/acronym-case @@ -490,7 +490,7 @@ describe( 'modules/tagmanager containers', () => { await untilResolved( registry, MODULES_TAGMANAGER - ).getContainers( accountID ); + ).getWebContainers( accountID ); // Ensure the proper parameters were sent. expect( fetchMock ).toHaveFetched(