mirror of
https://github.com/captbaritone/webamp.git
synced 2026-01-23 10:15:31 +00:00
Fix stray prettier
This commit is contained in:
parent
5b76a7842a
commit
b378647d38
2 changed files with 13 additions and 13 deletions
|
|
@ -108,18 +108,18 @@ function assertionsFromTxt(txtPath) {
|
|||
}
|
||||
|
||||
xdescribe("integration", () => {
|
||||
assertionsFromTxt(
|
||||
"./js/__fixtures__/resizeDoubleTestCases.txt"
|
||||
).forEach(({ input, output, message }) => {
|
||||
it(message, () => {
|
||||
const matrix = matrixFromMap(input);
|
||||
const boxes = boxesFromMatrix(matrix);
|
||||
const doubledBoxes = double(boxes);
|
||||
const derivedMatrix = matrixFromBoxes(doubledBoxes);
|
||||
const derivedMap = mapFromMatrix(derivedMatrix);
|
||||
expect(derivedMap).toEqual(output);
|
||||
});
|
||||
});
|
||||
assertionsFromTxt("./js/__fixtures__/resizeDoubleTestCases.txt").forEach(
|
||||
({ input, output, message }) => {
|
||||
it(message, () => {
|
||||
const matrix = matrixFromMap(input);
|
||||
const boxes = boxesFromMatrix(matrix);
|
||||
const doubledBoxes = double(boxes);
|
||||
const derivedMatrix = matrixFromBoxes(doubledBoxes);
|
||||
const derivedMap = mapFromMatrix(derivedMatrix);
|
||||
expect(derivedMap).toEqual(output);
|
||||
});
|
||||
}
|
||||
);
|
||||
});
|
||||
|
||||
describe("matrixFromBoxes", () => {
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
"tdd": "jest --watch",
|
||||
"deploy": "ssh jordaneldredge.com HASH=$HASH sh < scripts/deploy.sh",
|
||||
"revert": "ssh jordaneldredge.com sh < scripts/revert.sh",
|
||||
"format": "prettier --write js/**/*.js css/**/*.css webpack.config.js webpack.production.config.js",
|
||||
"format": "prettier --write experiments/**/*.js js/**/*.js css/**/*.css webpack.config.js webpack.production.config.js",
|
||||
"build-skin": "rm skins/base-2.91.wsz && cd skins/base-2.91 && zip -x .* -x 'Skining Updates.txt' -r ../base-2.91.wsz .",
|
||||
"skin-info": "unzip -vl skins/base-2.91.wsz"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue