Skip to content

Commit

Permalink
fix test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
NovemLinguae committed Oct 19, 2024
1 parent f14ea7b commit 95d5867
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/scaffold.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ const resetToBase = function () {
// Set the base document content using jsdom
document.documentElement.innerHtml = basePageHtml;
AFCH = undefined;
const jQuery = $ = require( 'jquery' );
jQuery = $ = require( 'jquery' );
};

resetToBase();

const resetToAFCApplicablePage = function () {
resetToAFCApplicablePage = function () {
resetToBase();
setPageTitle( 'Draft:Foo' );
require( './../src/afch.js' );
Expand Down

0 comments on commit 95d5867

Please sign in to comment.