@brightspace-ui/create
Advanced tools
Comparing version 1.2.0 to 1.3.0
@@ -15,3 +15,3 @@ { | ||
"@babel/eslint-parser": "^7", | ||
"@brightspace-ui/stylelint-config": "^0.0.3", | ||
"@brightspace-ui/stylelint-config": "^0.1", | ||
"eslint": "^7", | ||
@@ -18,0 +18,0 @@ "eslint-config-brightspace": "^0.14", |
@@ -1,3 +0,3 @@ | ||
const puppeteer = require('puppeteer'); | ||
const VisualDiff = require('@brightspace-ui/visual-diff'); | ||
import puppeteer from 'puppeteer'; | ||
import VisualDiff from '@brightspace-ui/visual-diff'; | ||
@@ -4,0 +4,0 @@ describe('<%= tagName %>', () => { |
@@ -6,3 +6,3 @@ | ||
The golden snapshots in source control must be updated by Github Actions. If your PR's code changes result in visual differences, a PR with the new goldens will be automatically opened for you against your branch. | ||
The golden snapshots in source control must be updated by Github Actions. If your PR's code changes result in visual differences, a draft PR with the new goldens will be automatically opened for you against your branch. | ||
@@ -12,11 +12,10 @@ If you'd like to run the tests locally to help troubleshoot or develop new tests, you can use these commands: | ||
```shell | ||
# Install dependencies locally | ||
npm i mocha -g | ||
npm i @brightspace-ui/visual-diff puppeteer --no-save | ||
# install dependencies locally | ||
npm install esm mocha puppeteer @brightspace-ui/visual-diff --no-save | ||
# run visual-diff tests | ||
mocha './test/**/*.visual-diff.js' -t 10000 | ||
npx mocha './test/**/*.visual-diff.js' -t 10000 --require esm | ||
# subset of visual-diff tests: | ||
mocha './test/**/*.visual-diff.js' -t 10000 -g some-pattern | ||
npx mocha './test/**/*.visual-diff.js' -t 10000 --require esm -g some-pattern | ||
# update visual-diff goldens | ||
mocha './test/**/*.visual-diff.js' -t 10000 --golden | ||
npx mocha './test/**/*.visual-diff.js' -t 10000 --require esm --golden | ||
``` |
{ | ||
"name": "@brightspace-ui/create", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "Initializer for Brightspace web components", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/BrightspaceUI/create.git", |
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
58349