@jimp/tiff
Advanced tools
Comparing version 0.21.3 to 0.21.4--canary.1163.6a6ae39e83bd731ccd25120a160a75b32273f9bd.0
{ | ||
"name": "@jimp/tiff", | ||
"version": "0.21.3", | ||
"version": "0.21.4--canary.1163.6a6ae39e83bd731ccd25120a160a75b32273f9bd.0", | ||
"description": "Default Jimp tiff encoder/decoder.", | ||
@@ -10,3 +10,3 @@ "main": "dist/index.js", | ||
"scripts": { | ||
"test": "cross-env BABEL_ENV=test mocha --require @babel/register", | ||
"test": "cross-env BABEL_ENV=test mocha --require @babel/register --recursive test --extension js", | ||
"test:watch": "npm run test -- --reporter min --watch", | ||
@@ -31,4 +31,4 @@ "test:coverage": "nyc npm run test", | ||
"devDependencies": { | ||
"@jimp/custom": "^0.21.3", | ||
"@jimp/test-utils": "^0.21.3" | ||
"@jimp/custom": "0.21.4--canary.1163.6a6ae39e83bd731ccd25120a160a75b32273f9bd.0", | ||
"@jimp/test-utils": "0.21.4--canary.1163.6a6ae39e83bd731ccd25120a160a75b32273f9bd.0" | ||
}, | ||
@@ -38,3 +38,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "046ea0d26952611c74bebd7b13877eb628458aa3" | ||
"gitHead": "6a6ae39e83bd731ccd25120a160a75b32273f9bd" | ||
} |
import { Jimp, getTestDir } from "@jimp/test-utils"; | ||
import configure from "@jimp/custom"; | ||
import expect from "@storybook/expect"; | ||
@@ -14,5 +15,5 @@ import tiff from "../src"; | ||
image.getPixelColor(10, 10).should.be.equal(0xa4988bff); | ||
image.getPixelColor(220, 190).should.be.equal(0xe0d7ddff); | ||
image.getPixelColor(350, 130).should.be.equal(0x565433ff); | ||
expect(image.getPixelColor(10, 10)).toBe(0xa4988bff); | ||
expect(image.getPixelColor(220, 190)).toBe(0xe0d7ddff); | ||
expect(image.getPixelColor(350, 130)).toBe(0x565433ff); | ||
}); | ||
@@ -33,4 +34,4 @@ | ||
buffer.toString().should.match(/^MM\u0000*\u0000/); | ||
expect(buffer.toString()).toMatch(/^MM\u0000*\u0000/); | ||
}); | ||
}); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1465359
144