mirror of
https://git.unlock-music.dev/um/web.git
synced 2024-12-28 16:25:03 +08:00
test: remove invalid test and avoid jest pick up tests from emsdk folder.
This commit is contained in:
parent
b1d97ea85c
commit
76b2676f38
@ -1,8 +1,7 @@
|
||||
module.exports = {
|
||||
setupFilesAfterEnv: [
|
||||
'./src/__test__/setup_jest.js'
|
||||
],
|
||||
moduleNameMapper: {
|
||||
'@/(.*)': '<rootDir>/src/$1'
|
||||
}
|
||||
};
|
||||
module.exports = {
|
||||
testPathIgnorePatterns: ['/build/', '/dist/', '/node_modules/'],
|
||||
setupFilesAfterEnv: ['./src/__test__/setup_jest.js'],
|
||||
moduleNameMapper: {
|
||||
'@/(.*)': '<rootDir>/src/$1',
|
||||
},
|
||||
};
|
||||
|
@ -1,20 +0,0 @@
|
||||
// import { DecryptBuffer as DecryptQmcCacheBuffer } from '../qmccache';
|
||||
// import fs from 'fs';
|
||||
//
|
||||
// const expectedBuffer = fs.readFileSync(__dirname + '/fixture/qmc_cache_expected.bin');
|
||||
//
|
||||
// const createInputBuffer = () => {
|
||||
// const buffer = Buffer.alloc(256);
|
||||
// for (let i = buffer.byteLength; i >= 0; i--) {
|
||||
// buffer[i] = i;
|
||||
// }
|
||||
// return buffer;
|
||||
// };
|
||||
//
|
||||
// describe('decrypt/qmccache', () => {
|
||||
// it('should decrypt specified buffer correctly', () => {
|
||||
// const input = createInputBuffer();
|
||||
// DecryptQmcCacheBuffer(input);
|
||||
// expect(input).toEqual(expectedBuffer);
|
||||
// });
|
||||
// });
|
Loading…
Reference in New Issue
Block a user