Skip to content

Commit

Permalink
Update fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
m-allanson committed Jul 16, 2020
1 parent 30a1b09 commit aa53b51
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 32 deletions.
@@ -0,0 +1 @@
a {}
1 change: 1 addition & 0 deletions lib/__tests__/fixtures/globs/with spaces/styles.css
@@ -0,0 +1 @@
a {}
32 changes: 0 additions & 32 deletions lib/__tests__/standalone-globs.test.js
Expand Up @@ -191,35 +191,3 @@ describe('standalone globbing', () => {
/* eslint-enable */
});
});

// const cases = [
// // [`glob and matched path contain different special chars`, `${fixturesPath}/[glob-and-path]/*.css`, undefined],
// // [`complex example`, `${fixturesPath}/got[braces] and (spaces)/*.+(s|c)ss`, undefined],

// // description, glob, globbyOptions
// [`manual escaping`, `${fixturesPath}/got\\[braces\\] and \\(spaces\\)/*.+(s|c)ss`, undefined],
// [
// `using cwd globbyOption`,
// `*.+(s|c)ss`,
// {
// cwd: `${fixturesPath}/got[braces] and (spaces)/`,
// },
// ],
// ];

// it.each(cases)(`%s`, async (_, glob, globbyOptions) => {
// const { results } = await standalone({
// files: glob,
// globbyOptions,
// config: { rules: { 'block-no-empty': true } },
// });

// expect(results).toHaveLength(1);
// expect(results[0].errored).toEqual(true);
// expect(results[0].warnings[0]).toEqual(
// expect.objectContaining({
// rule: 'block-no-empty',
// severity: 'error',
// }),
// );
// });

0 comments on commit aa53b51

Please sign in to comment.