Your message dated Sun, 24 Oct 2021 07:03:41 +0000
with message-id <e1mexxh-000hxn...@fasolo.debian.org>
and subject line Bug#997575: fixed in node-style-loader 2.0.0-3
has caused the Debian Bug report #997575,
regarding node-style-loader: FTBFS: dh_auto_test: error: /bin/sh -ex 
debian/tests/pkg-js/test returned exit code 1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
997575: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=997575
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: node-style-loader
Version: 2.0.0-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20211023 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> NODE_ENV=production babeljs src -d dist --copy-files
> Successfully compiled 5 files with Babel (597ms).
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test --buildsystem=nodejs
>       mkdir -p node_modules
>       ln -s ../. node_modules/style-loader
>       /bin/sh -ex debian/tests/pkg-js/test
> + jest --ci -u test/runtime/isEqualLocals.test.js 
> test/runtime/injectStylesIntoLinkTag.test.js 
> test/runtime/injectStylesIntoStyleTag.test.js test/cjs.test.js
> PASS test/runtime/isEqualLocals.test.js
> FAIL test/runtime/injectStylesIntoLinkTag.test.js
>   ● addStyle › should work
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoLinkTag.test.js:43:5)
> 
>   ● addStyle › should work with "attributes" option
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoLinkTag.test.js:43:5)
> 
>   ● addStyle › should work with "__webpack_nonce__" variable
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoLinkTag.test.js:43:5)
> 
>   ● addStyle › should work with "nonce" attribute and "__webpack_nonce__" 
> variable
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoLinkTag.test.js:43:5)
> 
>   ● addStyle › should work with "insert" option
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoLinkTag.test.js:43:5)
> 
>   ● addStyle › should work with "insert" option #2
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoLinkTag.test.js:43:5)
> 
>   ● addStyle › should work with "insert" option #3
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoLinkTag.test.js:43:5)
> 
>   ● addStyle › should work with "insert" option #4
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoLinkTag.test.js:43:5)
> 
>   ● addStyle › should work with "insert" option #5
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoLinkTag.test.js:43:5)
> 
>   ● addStyle › should throw error with incorrect "insert" option
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoLinkTag.test.js:43:5)
> 
>   ● addStyle › should throw error with invalid "insert" option
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoLinkTag.test.js:43:5)
> 
>   ● addStyle › should work with updates
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoLinkTag.test.js:43:5)
> 
>   ● addStyle › should work with updates #2
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoLinkTag.test.js:43:5)
> 
>   ● addStyle › should work with updates #3
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoLinkTag.test.js:43:5)
> 
>   ● addStyle › should work with updates #4
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoLinkTag.test.js:43:5)
> 
>   ● addStyle › should work with updates #5
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoLinkTag.test.js:43:5)
> 
> FAIL test/runtime/injectStylesIntoStyleTag.test.js
>   ● addStyle › should work
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work with multiple styles
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work with same module id in list
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work with media
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work with source maps
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work with "__webpack_nonce__" variable
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work with "nonce" attribute and "__webpack_nonce__" 
> variable
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work with "base" option
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work with "attributes" option
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work with "attributes" option #2
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work with "insert" option
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work with "insert" option #2
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work with "insert" option #3
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work with "insert" option #4
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work with "insert" option #5
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work with "insert" option #6
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should throw error with incorrect "insert" option
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should throw error with invalid "insert" option
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work with updates
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work with updates #2
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work with updates #3
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work with updates #4
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work with updates #5
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work with updates #6
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work with updates #7
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work with updates #8
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work with updates #9
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work with updates #10
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work with updates #11
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work with updates #12
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work with updates #12
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work with updates #13
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work with updates #14
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › issue 447
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › issue 447 #2
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work with empty modules list
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work without modules
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work with empty modules list #2
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should work with empty modules list #3
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
>   ● addStyle › should avoid duplicate modules
> 
>     The error below may be caused by using the wrong test environment, see 
> https://jestjs.io/docs/configuration#testenvironment-string.
>     Consider using the "jsdom" test environment.
> 
>     ReferenceError: document is not defined
> 
>       41 | describe('addStyle', () => {
>       42 |   beforeEach(() => {
>     > 43 |     document.head.innerHTML = '<title>Title</title>';
>          |     ^
>       44 |     document.body.innerHTML = '<h1>Hello world</h1>';
>       45 |   });
>       46 | 
> 
>       at Object.<anonymous> 
> (test/runtime/injectStylesIntoStyleTag.test.js:43:5)
> 
> PASS test/cjs.test.js
> 
> Test Suites: 2 failed, 2 passed, 4 total
> Tests:       56 failed, 2 passed, 58 total
> Snapshots:   0 total
> Time:        4.718 s
> Ran all test suites matching 
> /test\/runtime\/isEqualLocals.test.js|test\/runtime\/injectStylesIntoLinkTag.test.js|test\/runtime\/injectStylesIntoStyleTag.test.js|test\/cjs.test.js/i.
> dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/node-style-loader_2.0.0-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

--- End Message ---
--- Begin Message ---
Source: node-style-loader
Source-Version: 2.0.0-3
Done: Yadd <y...@debian.org>

We believe that the bug you reported is fixed in the latest version of
node-style-loader, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 997...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Yadd <y...@debian.org> (supplier of updated node-style-loader package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 24 Oct 2021 08:49:43 +0200
Source: node-style-loader
Architecture: source
Version: 2.0.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers 
<pkg-javascript-de...@lists.alioth.debian.org>
Changed-By: Yadd <y...@debian.org>
Closes: 997575
Changes:
 node-style-loader (2.0.0-3) unstable; urgency=medium
 .
   * Team upload
   * Fix GitHub tags regex
   * Update standards version to 4.6.0, no changes needed.
   * Fix filenamemangle
   * Fix test for jest ≥ 27 (Closes: #997575)
Checksums-Sha1: 
 1eb10382af8534f627758a87349713ae60bd90e4 2162 node-style-loader_2.0.0-3.dsc
 98e91a5e78e088bc56d6fbafaffef5b700a241ce 3440 
node-style-loader_2.0.0-3.debian.tar.xz
Checksums-Sha256: 
 53e07e5d140437bc9a620d64e62fc16fb9956e640368befcd72d072af3a39403 2162 
node-style-loader_2.0.0-3.dsc
 d9a411ccb251ed84ab76cd2a41351f05ea054efcd15bb5706bc68643340d7cef 3440 
node-style-loader_2.0.0-3.debian.tar.xz
Files: 
 4d4e1b46afbe89c1ecef23b40f7d97ce 2162 javascript optional 
node-style-loader_2.0.0-3.dsc
 31abc0b24c6908309353f40d8d3cdeeb 3440 javascript optional 
node-style-loader_2.0.0-3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmF1AlQACgkQ9tdMp8mZ
7ulxew/+PyYhlTKQfov8VAMUOEssFchCr63SdshI8UIWSVSS9PFTY0H+M8Lg4Gje
DCD+d60As9yUmlo6hb23co0gJtgKobLWo2T6ZLwmxGB4pRbY4DzgrtxHwV7vsSa8
sdQ00So8V/UNidG6fE1vIkIRuQ5N55t4X6mPY1tmsM3lw07kWqFIlUSisOianFhI
1XabiZQxCKFPErKgk21pP+ncAP4pYYpvmO+k/0y29hAOXtSxmN1jMAfD/Q7yI83E
x8yObZQxeqczQG5Zd5RVJTZVzceRgSyvbVBIYUMUELn8aM2YCYPJUpk9HfZJy4zw
9CG5w2HhWFT2+gCCvzqWDFSrTZhAJG4M1s07TnKPeiRd1ULkj4uL44V1RAeAZYNr
KWqHA/heMeUEth4BFHdDnfSU+lNdQ9fOWWi7T0UIE5v+aCUiVt1SVr5G6HGF2p/e
GJzndxNw/hwdBq8UejwHPBRGn+VfDDGUNEfkx6AYrcY3zN34s/VFDyDQuVO25PwW
dOKWf2GjRk4GpCgJ5jUNHQcl1qyB8Gsop60Ck62Gcp3GF4eGNBWz2ulTxc2sTNA3
hi2jCBV5OxLUfL9hXq+4t+SIoa4ryj/I3tWbo336/TTtvOyr2o2cjPKc/DBPG1Ew
EK6enS2Pyy6FphRUGAARVOZUK+/SD6WMr4kB1Xc2Ya76Zy9BUDE=
=VNQF
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to