diff --git a/frappe/website/doctype/contact_us_settings/test_contact_us_settings.js b/frappe/website/doctype/contact_us_settings/test_contact_us_settings.js new file mode 100644 index 0000000000..ab53ac56c1 --- /dev/null +++ b/frappe/website/doctype/contact_us_settings/test_contact_us_settings.js @@ -0,0 +1,23 @@ +/* eslint-disable */ +// rename this file from _test_[name] to test_[name] to activate +// and remove above this line + +QUnit.test("test: Contact Us Settings", function (assert) { + let done = assert.async(); + + // number of asserts + assert.expect(1); + + frappe.run_serially([ + // insert a new Contact Us Settings + () => frappe.tests.make('Contact Us Settings', [ + // values to be set + {key: 'value'} + ]), + () => { + assert.equal(cur_frm.doc.key, 'value'); + }, + () => done() + ]); + +});