Skip to content
Permalink
Browse files

fix(tests): add missing coverage for the verification reminder script

  • Loading branch information...
philbooth committed Aug 14, 2019
1 parent b85c1ed commit b4ec94685f4658b90e046a7b4de3f7058ee26809
Showing with 21 additions and 0 deletions.
  1. +21 −0 packages/fxa-auth-server/test/scripts/verification-reminders.js
@@ -0,0 +1,21 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

'use strict';

const ROOT_DIR = '../..';

const cp = require('child_process');
const Promise = require(`${ROOT_DIR}/lib/promise`);
const path = require('path');

cp.execAsync = Promise.promisify(cp.exec);

const cwd = path.resolve(__dirname, ROOT_DIR);

describe('scripts/verification-reminders:', () => {
it('does not fail', () => {
return cp.execAsync('node scripts/verification-reminders', { cwd });
});
});

0 comments on commit b4ec946

Please sign in to comment.
You can’t perform that action at this time.