diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-02-25 15:07:00 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2020-02-25 15:07:00 -0500 |
commit | 2add0e8cec9d7ff29d2424c877298a85ded95e27 (patch) | |
tree | d408e02767c86cf8aac3acbb86722b03c77ede6f /toolkit/components/places/tests/unit/test_visitsInDB.js | |
parent | 4e2563637cd55288f9e149c88684af3a7e4c0bb1 (diff) | |
download | uxp-2add0e8cec9d7ff29d2424c877298a85ded95e27.tar.gz |
Issue mcp-graveyard/UXP#439 - Remove tests from toolkit/
Diffstat (limited to 'toolkit/components/places/tests/unit/test_visitsInDB.js')
-rw-r--r-- | toolkit/components/places/tests/unit/test_visitsInDB.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/toolkit/components/places/tests/unit/test_visitsInDB.js b/toolkit/components/places/tests/unit/test_visitsInDB.js deleted file mode 100644 index 3cab39ed98..0000000000 --- a/toolkit/components/places/tests/unit/test_visitsInDB.js +++ /dev/null @@ -1,12 +0,0 @@ -/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ -/* vim:set ts=2 sw=2 sts=2 et: */ - -add_task(function* test_execute() { - const TEST_URI = uri("http://mozilla.com"); - - do_check_eq(0, yield PlacesTestUtils.visitsInDB(TEST_URI)); - yield PlacesTestUtils.addVisits({uri: TEST_URI}); - do_check_eq(1, yield PlacesTestUtils.visitsInDB(TEST_URI)); - yield PlacesTestUtils.addVisits({uri: TEST_URI}); - do_check_eq(2, yield PlacesTestUtils.visitsInDB(TEST_URI)); -}); |