Skip to content

Commit

Permalink
Add global license key to manual and automated tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmotyczynska committed Sep 3, 2024
1 parent 9bd4f30 commit e0775b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ const TreatWarningsAsErrorsWebpackPlugin = require( './treatwarningsaserrorswebp
module.exports = function getWebpackConfigForAutomatedTests( options ) {
const definitions = Object.assign( {}, getDefinitionsFromFile( options.identityFile ) );

definitions[ 'window.CKEDITOR_GLOBAL_LICENSE_KEY' ] = JSON.stringify( 'GPL' );

const config = {
mode: 'development',

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ const getDefinitionsFromFile = require( '../getdefinitionsfromfile' );
module.exports = function getWebpackConfigForManualTests( options ) {
const definitions = Object.assign( {}, getDefinitionsFromFile( options.identityFile ) );

definitions[ 'window.CKEDITOR_GLOBAL_LICENSE_KEY' ] = JSON.stringify( 'GPL' );

const webpackConfig = {
mode: 'none',

Expand Down

0 comments on commit e0775b7

Please sign in to comment.