How to use the apostrophe/test-lib/util.destroy function in apostrophe

To help you get started, we’ve selected a few apostrophe examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github apostrophecms / apostrophe-workflow / test / testReplicateRelated.js View on Github external
after(function(done) {
    // This time destroy database
    require('apostrophe/test-lib/util').destroy(apos, done);
  });
github apostrophecms / apostrophe-workflow / test / testGlobalDef.js View on Github external
after(function(done) {
    require('apostrophe/test-lib/util').destroy(apos, function() {
      require('apostrophe/test-lib/util').destroy(apos2, done);
    });
  });
  it('global should exist on the apos object', function(done) {
github apostrophecms / apostrophe-workflow / test / test2-disable-anon-session.js View on Github external
after(function(done) {
    require('apostrophe/test-lib/util').destroy(apos, done);
  });
github apostrophecms / apostrophe-workflow / test / reorganizeReplicateFalse.js View on Github external
after(function(done) {
    require('apostrophe/test-lib/util').destroy(apos, done);
  });
github apostrophecms / apostrophe-workflow / test / test3.js View on Github external
after(function(done) {
    require('apostrophe/test-lib/util').destroy(apos, function() {
      require('apostrophe/test-lib/util').destroy(apos2, function() {
        require('apostrophe/test-lib/util').destroy(apos3, function() {
          require('apostrophe/test-lib/util').destroy(apos4, done);
        });
      });
    });
  });
github apostrophecms / apostrophe-workflow / test / test1.js View on Github external
after(function(done) {
    require('apostrophe/test-lib/util').destroy(apos, done);
  });
github apostrophecms / apostrophe-workflow / test / testOverrideOptions.js View on Github external
after(function(done) {
    require('apostrophe/test-lib/util').destroy(apos, done);
  });
github apostrophecms / apostrophe-workflow / test / test3.js View on Github external
require('apostrophe/test-lib/util').destroy(apos, function() {
      require('apostrophe/test-lib/util').destroy(apos2, function() {
        require('apostrophe/test-lib/util').destroy(apos3, function() {
          require('apostrophe/test-lib/util').destroy(apos4, done);
        });
      });
    });
  });
github apostrophecms / apostrophe-workflow / test / parkedPages.js View on Github external
after(function(done) {
    require('apostrophe/test-lib/util').destroy(apos, done);
  });
github apostrophecms / apostrophe-workflow / test / testApi.js View on Github external
after(function(done) {
    require('apostrophe/test-lib/util').destroy(apos, done);
  });

apostrophe

The Apostrophe Content Management System.

MIT
Latest version published 5 days ago

Package Health Score

84 / 100
Full package analysis