Your message dated Sun, 13 Dec 2020 07:33:30 +0000
with message-id <[email protected]>
and subject line Bug#977234: fixed in node-vue-style-loader 4.1.2-2
has caused the Debian Bug report #977234,
regarding node-vue-style-loader: enable autopkgtest
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 [email protected]
immediately.)


-- 
977234: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977234
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: node-vue-style-loader
Version: 4.1.2-1
severity: wishlist

As continuation of https://alioth-lists.debian.net/pipermail/pkg-javascript-devel/2020-December/048394.html

I tried running the test with babeljs-node after embedding missing node-environment-flags in debian/test/test_modules and exporting NODE_PATH=debian/tests/test_modules in debian/tests/pkg-js/test

These steps are workaround for this bug,
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977232

+ /usr/bin/babeljs-node /usr/bin/jest
FAIL test/test.js
 ● Test suite failed to run

   Jest encountered an unexpected token

This usually means that you are trying to import a file which Jest cannot parse, e.g. it's not plain JavaScript.

By default, if Jest sees a Babel config, it will use that to transform your files, ignoring "node_modules".

   Here's what you can do:
• If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/en/ecmascript-modules for how to enable it. • To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config. • If you need a custom transformation specify a "transform" option in your config. • If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.

You'll find more details and examples of these config options in the docs:
   https://jestjs.io/docs/en/configuration.html

   Details:

   /usr/share/nodejs/vue-style-loader/lib/addStylesClient.js:6
   import listToStyles from './listToStyles';
   ^^^^^^

   SyntaxError: Cannot use import statement outside a module

     1093 | try {
1094 | const scriptFilename = this._resolver.isCoreModule(filename) ? `jest-nodejs-core-${filename}` : filename; > 1095 | return new (_vm().Script)(this.wrapCodeInModuleWrapper(scriptSource), {
          | ^
     1096 | displayErrors: true,
     1097 | filename: scriptFilename,
     1098 | // @ts-expect-error: Experimental ESM API

at Runtime.createScriptFromCode (../../../../../usr/share/nodejs/jest-runtime/build/index.js:1095:14)
     at Object.<anonymous> (test/test.js:1:1)

Test Suites: 1 failed, 1 total
Tests: 0 total
Snapshots: 0 total
Time: 1.643 s
Ran all test suites.
autopkgtest [02:34:48]: test pkg-js-autopkgtest: -----------------------] autopkgtest [02:34:48]: test pkg-js-autopkgtest: - - - - - - - - - - results - - - - - - - - - -
pkg-js-autopkgtest FAIL non-zero exit status 1
autopkgtest [02:34:48]: @@@@@@@@@@@@@@@@@@@@ summary
pkg-js-autopkgtest-require PASS (superficial)
pkg-js-autopkgtest FAIL non-zero exit status 1

I'm out of ideas for this.

--- End Message ---
--- Begin Message ---
Source: node-vue-style-loader
Source-Version: 4.1.2-2
Done: Xavier Guimard <[email protected]>

We believe that the bug you reported is fixed in the latest version of
node-vue-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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Xavier Guimard <[email protected]> (supplier of updated node-vue-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 [email protected])


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

Format: 1.8
Date: Sun, 13 Dec 2020 08:09:43 +0100
Source: node-vue-style-loader
Architecture: source
Version: 4.1.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers 
<[email protected]>
Changed-By: Xavier Guimard <[email protected]>
Closes: 974332 977234
Changes:
 node-vue-style-loader (4.1.2-2) unstable; urgency=medium
 .
   * Team upload
   * Fix test for autopkgtest and enable it (Closes: #977234, #974332)
   * Bump debhelper compatibility level to 13
   * Add "Rules-Requires-Root: no"
   * Add debian/gbp.conf
   * Update debian/watch to use npm registry
   * Add upstream/metadata
Checksums-Sha1: 
 a680f5780df9c941fa5773bf2903aacfa72ca0d3 2243 node-vue-style-loader_4.1.2-2.dsc
 e759b3fee06a0f339065929d77b65dc60f118d26 3000 
node-vue-style-loader_4.1.2-2.debian.tar.xz
Checksums-Sha256: 
 d983e70e59dda29ffcb420a28c42c5158693ce99c13d1a30dca352baa025ea69 2243 
node-vue-style-loader_4.1.2-2.dsc
 d1f18dbf8d0ddddee33aa5f46e07f0c1fbd686f050119836573baedbbeed7306 3000 
node-vue-style-loader_4.1.2-2.debian.tar.xz
Files: 
 ddda6d5624c06fc977ab6d2b541e16c0 2243 javascript optional 
node-vue-style-loader_4.1.2-2.dsc
 7828ba700826475aa89b2a8615a5ed35 3000 javascript optional 
node-vue-style-loader_4.1.2-2.debian.tar.xz

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

iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAl/VwFMACgkQ9tdMp8mZ
7ukkoA/+OgDg/FJ6qG/GbRJg1J10rnxA/AbfjrV6k2NaRrinCxtHQQ0Hy7aBWGIl
IodlJ1MN7Pb4uvZrPpx4t5BnaXqD+QWTXuo01XBkZmPsikEQBERBU3XT18ylREq9
sO36FGyWfus8fPfnoJbonuL9KBjLaPcqIwnUkS4qnbWxqFZcczGA6zOZ+k61NBLj
ard/nBQH62bujk0ktBr72gD2THbP2SUIxvwRU/Tfr+TcyjBV/0INPxi+9KIbtBDh
GnPe+YQMvTXV1Hjv2aqEdAn4Z5671ogHDT+EyuFjQO/HkIb441Nrm9vpPs10In8W
iaxs9DmbHW3pQRUY0yJCcRDpF1zOzjXwZqGNBljO0HUBm9O2858qNaA9phtUntvZ
UOL3mGgAxtHZ68/l0IOilJ1cXhT1gljOAPXvoLI5Mbu05LOxzewkzoVcGJyNW6Q9
dDcV6Ud3JRMshhgF9id5Eb6578xwVqcNP/UsyxJOj3S4eAD8qulfpsMMGyVOsMdB
+3U4yavc8xQGZe3+NjZc42KM0hF9UoS7fXa8/MEecB3CZyKOsnpXbE4x99QZQcNQ
LhqZFbPhHmwJviCJULFsOkHbjLIIq28Y8jUIWLU+r7bwCytfpRNcUEuDXIKEL9c0
EP2HS7WgE1vi+CkSYOQkKfqNPjDMVCQSjO9MOw7NBdw5vdjWelc=
=TyYX
-----END PGP SIGNATURE-----

--- End Message ---
-- 
Pkg-javascript-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to