blob: 5f176f50fddb69c83d2ff8700e612a29f00fda26 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
'use strict';
describe( 'legacy POST /page', () => {
// Cache deletion ensures tests will execute for both legacy and module paths
// Doing this twice protects against changes in test execution order
const testsFile = __dirname + '/content.v1/Creation.js';
delete require.cache[ testsFile ];
require( testsFile ).init( '/v1', '/-' );
delete require.cache[ testsFile ];
} );
|