diff options
Diffstat (limited to 'toolkit/components/messaging-system/test/unit/test_MSTestUtils.js')
-rw-r--r-- | toolkit/components/messaging-system/test/unit/test_MSTestUtils.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/toolkit/components/messaging-system/test/unit/test_MSTestUtils.js b/toolkit/components/messaging-system/test/unit/test_MSTestUtils.js new file mode 100644 index 0000000000..9f843675ce --- /dev/null +++ b/toolkit/components/messaging-system/test/unit/test_MSTestUtils.js @@ -0,0 +1,13 @@ +"use strict"; + +const { ExperimentFakes, ExperimentTestUtils } = ChromeUtils.import( + "resource://testing-common/MSTestUtils.jsm" +); + +add_task(async function test_recipe_fake_validates() { + const recipe = ExperimentFakes.recipe("foo"); + Assert.ok( + await ExperimentTestUtils.validateExperiment(recipe), + "should produce a valid experiment recipe" + ); +}); |